@pulumi/aws 6.0.0-alpha.2 → 6.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alb/targetGroupAttachment.d.ts +17 -10
- package/alb/targetGroupAttachment.js +2 -1
- package/alb/targetGroupAttachment.js.map +1 -1
- package/appconfig/environment.d.ts +1 -1
- package/appflow/flow.d.ts +98 -0
- package/appflow/flow.js +98 -0
- package/appflow/flow.js.map +1 -1
- package/applicationloadbalancing/targetGroupAttachment.d.ts +17 -10
- package/applicationloadbalancing/targetGroupAttachment.js +2 -1
- package/applicationloadbalancing/targetGroupAttachment.js.map +1 -1
- package/appsync/graphQLApi.d.ts +0 -134
- package/appsync/graphQLApi.js +0 -134
- package/appsync/graphQLApi.js.map +1 -1
- package/backup/regionSettings.d.ts +3 -3
- package/batch/computeEnvironment.d.ts +2 -0
- package/batch/computeEnvironment.js +2 -0
- package/batch/computeEnvironment.js.map +1 -1
- package/budgets/getBudget.d.ts +130 -0
- package/budgets/getBudget.js +51 -0
- package/budgets/getBudget.js.map +1 -0
- package/budgets/index.d.ts +3 -0
- package/budgets/index.js +4 -1
- package/budgets/index.js.map +1 -1
- package/chime/index.d.ts +9 -0
- package/chime/index.js +16 -1
- package/chime/index.js.map +1 -1
- package/chime/sdkvoiceGlobalSettings.d.ts +73 -0
- package/chime/sdkvoiceGlobalSettings.js +75 -0
- package/chime/sdkvoiceGlobalSettings.js.map +1 -0
- package/chime/sdkvoiceSipMediaApplication.d.ts +145 -0
- package/chime/sdkvoiceSipMediaApplication.js +95 -0
- package/chime/sdkvoiceSipMediaApplication.js.map +1 -0
- package/chime/sdkvoiceSipRule.d.ts +134 -0
- package/chime/sdkvoiceSipRule.js +99 -0
- package/chime/sdkvoiceSipRule.js.map +1 -0
- package/chime/voiceConnector.d.ts +44 -0
- package/chime/voiceConnector.js +6 -0
- package/chime/voiceConnector.js.map +1 -1
- package/cleanrooms/collaboration.d.ts +256 -0
- package/cleanrooms/collaboration.js +123 -0
- package/cleanrooms/collaboration.js.map +1 -0
- package/cleanrooms/index.d.ts +3 -0
- package/cleanrooms/index.js +22 -0
- package/cleanrooms/index.js.map +1 -0
- package/cloudfront/cachePolicy.d.ts +22 -22
- package/cloudfront/cachePolicy.js +2 -2
- package/cloudwatch/eventTarget.d.ts +8 -2
- package/cloudwatch/eventTarget.js +8 -2
- package/cloudwatch/eventTarget.js.map +1 -1
- package/cloudwatch/internetMonitor.d.ts +12 -0
- package/cloudwatch/internetMonitor.js +2 -0
- package/cloudwatch/internetMonitor.js.map +1 -1
- package/cloudwatch/metricStream.d.ts +94 -0
- package/cloudwatch/metricStream.js +94 -0
- package/cloudwatch/metricStream.js.map +1 -1
- package/codebuild/project.d.ts +2 -2
- package/codebuild/project.js +2 -2
- package/cognito/identityPool.d.ts +1 -1
- package/cognito/identityPool.js +1 -1
- package/cognito/index.d.ts +3 -0
- package/cognito/index.js +6 -1
- package/cognito/index.js.map +1 -1
- package/cognito/managedUserPoolClient.d.ts +394 -0
- package/cognito/managedUserPoolClient.js +170 -0
- package/cognito/managedUserPoolClient.js.map +1 -0
- package/cognito/userPool.d.ts +3 -3
- package/cognito/userPoolClient.d.ts +14 -14
- package/cognito/userPoolClient.js +1 -1
- package/config/vars.d.ts +5 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/cur/reportDefinition.d.ts +7 -4
- package/cur/reportDefinition.js +4 -1
- package/cur/reportDefinition.js.map +1 -1
- package/datasync/locationObjectStorage.d.ts +3 -3
- package/ec2/getInstances.d.ts +54 -0
- package/ec2/getInstances.js +54 -0
- package/ec2/getInstances.js.map +1 -1
- package/ec2/getVpcPeeringConnections.d.ts +34 -0
- package/ec2/getVpcPeeringConnections.js +34 -0
- package/ec2/getVpcPeeringConnections.js.map +1 -1
- package/ec2/instance.d.ts +61 -0
- package/ec2/instance.js +39 -0
- package/ec2/instance.js.map +1 -1
- package/ec2/managedPrefixListEntry.d.ts +8 -16
- package/ec2/managedPrefixListEntry.js +5 -13
- package/ec2/managedPrefixListEntry.js.map +1 -1
- package/ec2/peeringConnectionOptions.d.ts +6 -18
- package/ec2/peeringConnectionOptions.js.map +1 -1
- package/ec2/securityGroupRule.d.ts +6 -0
- package/ec2/securityGroupRule.js.map +1 -1
- package/ec2/spotInstanceRequest.d.ts +7 -7
- package/ec2/spotInstanceRequest.js +1 -1
- package/ec2transitgateway/connect.d.ts +3 -3
- package/ec2transitgateway/connectPeer.d.ts +16 -0
- package/ec2transitgateway/connectPeer.js +4 -0
- package/ec2transitgateway/connectPeer.js.map +1 -1
- package/ec2transitgateway/getConnectPeer.d.ts +8 -0
- package/ec2transitgateway/getConnectPeer.js.map +1 -1
- package/ec2transitgateway/getVpcAttachments.d.ts +32 -0
- package/ec2transitgateway/getVpcAttachments.js +32 -0
- package/ec2transitgateway/getVpcAttachments.js.map +1 -1
- package/ec2transitgateway/index.d.ts +3 -0
- package/ec2transitgateway/index.js +6 -1
- package/ec2transitgateway/index.js.map +1 -1
- package/ec2transitgateway/instanceConnectEndpoint.d.ts +183 -0
- package/ec2transitgateway/instanceConnectEndpoint.js +96 -0
- package/ec2transitgateway/instanceConnectEndpoint.js.map +1 -0
- package/ec2transitgateway/routeTableAssociation.d.ts +12 -0
- package/ec2transitgateway/routeTableAssociation.js +2 -0
- package/ec2transitgateway/routeTableAssociation.js.map +1 -1
- package/ecr/getPullThroughCacheRule.d.ts +67 -0
- package/ecr/getPullThroughCacheRule.js +47 -0
- package/ecr/getPullThroughCacheRule.js.map +1 -0
- package/ecr/index.d.ts +3 -0
- package/ecr/index.js +4 -1
- package/ecr/index.js.map +1 -1
- package/eks/addon.d.ts +5 -10
- package/eks/addon.js +2 -7
- package/eks/addon.js.map +1 -1
- package/eks/cluster.d.ts +2 -4
- package/eks/cluster.js +2 -4
- package/eks/cluster.js.map +1 -1
- package/eks/getAddonVersion.d.ts +4 -8
- package/eks/getAddonVersion.js +4 -8
- package/eks/getAddonVersion.js.map +1 -1
- package/eks/getCluster.d.ts +6 -12
- package/eks/getCluster.js +6 -12
- package/eks/getCluster.js.map +1 -1
- package/eks/nodeGroup.d.ts +24 -15
- package/eks/nodeGroup.js.map +1 -1
- package/elasticache/cluster.d.ts +6 -3
- package/elasticache/cluster.js.map +1 -1
- package/elasticache/globalReplicationGroup.d.ts +6 -3
- package/elasticache/globalReplicationGroup.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +6 -3
- package/elasticache/replicationGroup.js.map +1 -1
- package/elasticloadbalancing/loadBalancer.d.ts +3 -3
- package/elasticloadbalancingv2/targetGroupAttachment.d.ts +17 -10
- package/elasticloadbalancingv2/targetGroupAttachment.js +2 -1
- package/elasticloadbalancingv2/targetGroupAttachment.js.map +1 -1
- package/elb/loadBalancer.d.ts +3 -3
- package/finspace/index.d.ts +12 -0
- package/finspace/index.js +37 -0
- package/finspace/index.js.map +1 -0
- package/finspace/kxCluster.d.ts +340 -0
- package/finspace/kxCluster.js +129 -0
- package/finspace/kxCluster.js.map +1 -0
- package/finspace/kxDatabase.d.ts +165 -0
- package/finspace/kxDatabase.js +102 -0
- package/finspace/kxDatabase.js.map +1 -0
- package/finspace/kxEnvironment.d.ts +235 -0
- package/finspace/kxEnvironment.js +132 -0
- package/finspace/kxEnvironment.js.map +1 -0
- package/finspace/kxUser.d.ts +160 -0
- package/finspace/kxUser.js +112 -0
- package/finspace/kxUser.js.map +1 -0
- package/fis/experimentTemplate.d.ts +12 -0
- package/fis/experimentTemplate.js +2 -0
- package/fis/experimentTemplate.js.map +1 -1
- package/getArn.d.ts +2 -3
- package/getArn.js +1 -0
- package/getArn.js.map +1 -1
- package/getBillingServiceAccount.d.ts +67 -2
- package/getBillingServiceAccount.js +56 -3
- package/getBillingServiceAccount.js.map +1 -1
- package/getCallerIdentity.d.ts +37 -2
- package/getCallerIdentity.js +26 -3
- package/getCallerIdentity.js.map +1 -1
- package/getDefaultTags.d.ts +2 -15
- package/getDefaultTags.js +1 -1
- package/getDefaultTags.js.map +1 -1
- package/getIpRanges.d.ts +2 -3
- package/getIpRanges.js +1 -0
- package/getIpRanges.js.map +1 -1
- package/getPartition.d.ts +41 -2
- package/getPartition.js +30 -3
- package/getPartition.js.map +1 -1
- package/getRegion.d.ts +2 -3
- package/getRegion.js +1 -0
- package/getRegion.js.map +1 -1
- package/getRegions.d.ts +9 -1
- package/getRegions.js +1 -0
- package/getRegions.js.map +1 -1
- package/getService.d.ts +2 -3
- package/getService.js +1 -0
- package/getService.js.map +1 -1
- package/globalaccelerator/customRoutingAccelerator.d.ts +192 -0
- package/globalaccelerator/customRoutingAccelerator.js +100 -0
- package/globalaccelerator/customRoutingAccelerator.js.map +1 -0
- package/globalaccelerator/customRoutingEndpointGroup.d.ts +130 -0
- package/globalaccelerator/customRoutingEndpointGroup.js +93 -0
- package/globalaccelerator/customRoutingEndpointGroup.js.map +1 -0
- package/globalaccelerator/customRoutingListener.d.ts +104 -0
- package/globalaccelerator/customRoutingListener.js +93 -0
- package/globalaccelerator/customRoutingListener.js.map +1 -0
- package/globalaccelerator/getAccelerator.d.ts +3 -9
- package/globalaccelerator/getAccelerator.js +1 -1
- package/globalaccelerator/getAccelerator.js.map +1 -1
- package/globalaccelerator/getCustomRoutingAccelerator.d.ts +96 -0
- package/globalaccelerator/getCustomRoutingAccelerator.js +58 -0
- package/globalaccelerator/getCustomRoutingAccelerator.js.map +1 -0
- package/globalaccelerator/index.d.ts +12 -0
- package/globalaccelerator/index.js +19 -1
- package/globalaccelerator/index.js.map +1 -1
- package/glue/crawler.d.ts +21 -0
- package/glue/crawler.js +2 -0
- package/glue/crawler.js.map +1 -1
- package/glue/devEndpoint.d.ts +3 -3
- package/glue/workflow.d.ts +3 -3
- package/guardduty/getFindingIds.d.ts +66 -0
- package/guardduty/getFindingIds.js +49 -0
- package/guardduty/getFindingIds.js.map +1 -0
- package/guardduty/index.d.ts +3 -0
- package/guardduty/index.js +4 -1
- package/guardduty/index.js.map +1 -1
- package/iam/getPrincipalPolicySimulation.d.ts +167 -0
- package/iam/getPrincipalPolicySimulation.js +48 -0
- package/iam/getPrincipalPolicySimulation.js.map +1 -0
- package/iam/index.d.ts +3 -0
- package/iam/index.js +5 -2
- package/iam/index.js.map +1 -1
- package/index.d.ts +9 -4
- package/index.js +15 -8
- package/index.js.map +1 -1
- package/iot/getEndpoint.d.ts +50 -0
- package/iot/getEndpoint.js +50 -0
- package/iot/getEndpoint.js.map +1 -1
- package/kendra/querySuggestionsBlockList.d.ts +24 -24
- package/kendra/querySuggestionsBlockList.js +2 -2
- package/keyspaces/table.d.ts +12 -0
- package/keyspaces/table.js +2 -0
- package/keyspaces/table.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +0 -50
- package/kinesis/firehoseDeliveryStream.js +0 -50
- package/kinesis/firehoseDeliveryStream.js.map +1 -1
- package/lambda/eventSourceMapping.d.ts +6 -48
- package/lambda/eventSourceMapping.js +0 -42
- package/lambda/eventSourceMapping.js.map +1 -1
- package/lambda/function.d.ts +51 -4
- package/lambda/function.js +36 -1
- package/lambda/function.js.map +1 -1
- package/lambda/provisionedConcurrencyConfig.d.ts +2 -2
- package/lambda/provisionedConcurrencyConfig.js +2 -2
- package/lb/targetGroupAttachment.d.ts +17 -10
- package/lb/targetGroupAttachment.js +2 -1
- package/lb/targetGroupAttachment.js.map +1 -1
- package/msk/cluster.d.ts +108 -0
- package/msk/cluster.js +108 -0
- package/msk/cluster.js.map +1 -1
- package/opensearch/getServerlessAccessPolicy.d.ts +81 -0
- package/opensearch/getServerlessAccessPolicy.js +52 -0
- package/opensearch/getServerlessAccessPolicy.js.map +1 -0
- package/opensearch/getServerlessCollection.d.ts +101 -0
- package/opensearch/getServerlessCollection.js +51 -0
- package/opensearch/getServerlessCollection.js.map +1 -0
- package/opensearch/getServerlessSecurityConfig.d.ts +91 -0
- package/opensearch/getServerlessSecurityConfig.js +50 -0
- package/opensearch/getServerlessSecurityConfig.js.map +1 -0
- package/opensearch/getServerlessSecurityPolicy.d.ts +90 -0
- package/opensearch/getServerlessSecurityPolicy.js +50 -0
- package/opensearch/getServerlessSecurityPolicy.js.map +1 -0
- package/opensearch/getServerlessVpcEndpoint.d.ts +79 -0
- package/opensearch/getServerlessVpcEndpoint.js +47 -0
- package/opensearch/getServerlessVpcEndpoint.js.map +1 -0
- package/opensearch/index.d.ts +30 -0
- package/opensearch/index.js +41 -1
- package/opensearch/index.js.map +1 -1
- package/opensearch/serverlessAccessPolicy.d.ts +138 -0
- package/opensearch/serverlessAccessPolicy.js +106 -0
- package/opensearch/serverlessAccessPolicy.js.map +1 -0
- package/opensearch/serverlessCollection.d.ts +167 -0
- package/opensearch/serverlessCollection.js +104 -0
- package/opensearch/serverlessCollection.js.map +1 -0
- package/opensearch/serverlessSecurityConfig.d.ts +113 -0
- package/opensearch/serverlessSecurityConfig.js +76 -0
- package/opensearch/serverlessSecurityConfig.js.map +1 -0
- package/opensearch/serverlessSecurityPolicy.d.ts +148 -0
- package/opensearch/serverlessSecurityPolicy.js +116 -0
- package/opensearch/serverlessSecurityPolicy.js.map +1 -0
- package/opensearch/serverlessVpcEndpoint.d.ts +120 -0
- package/opensearch/serverlessVpcEndpoint.js +91 -0
- package/opensearch/serverlessVpcEndpoint.js.map +1 -0
- package/organizations/getPolicies.d.ts +45 -0
- package/organizations/getPolicies.js +29 -0
- package/organizations/getPolicies.js.map +1 -0
- package/organizations/getPoliciesForTarget.d.ts +54 -0
- package/organizations/getPoliciesForTarget.js +30 -0
- package/organizations/getPoliciesForTarget.js.map +1 -0
- package/organizations/index.d.ts +9 -0
- package/organizations/index.js +12 -1
- package/organizations/index.js.map +1 -1
- package/organizations/resourcePolicy.d.ts +137 -0
- package/organizations/resourcePolicy.js +109 -0
- package/organizations/resourcePolicy.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pinpoint/smsChannel.d.ts +18 -18
- package/pinpoint/smsChannel.js +2 -2
- package/pipes/pipe.d.ts +52 -19
- package/pipes/pipe.js +25 -8
- package/pipes/pipe.js.map +1 -1
- package/provider.d.ts +10 -0
- package/provider.js +2 -1
- package/provider.js.map +1 -1
- package/quicksight/dataSet.d.ts +2 -2
- package/quicksight/dataSet.js +0 -3
- package/quicksight/dataSet.js.map +1 -1
- package/quicksight/getTheme.d.ts +133 -0
- package/quicksight/getTheme.js +51 -0
- package/quicksight/getTheme.js.map +1 -0
- package/quicksight/index.d.ts +6 -0
- package/quicksight/index.js +9 -1
- package/quicksight/index.js.map +1 -1
- package/quicksight/refreshSchedule.d.ts +44 -0
- package/quicksight/refreshSchedule.js +44 -0
- package/quicksight/refreshSchedule.js.map +1 -1
- package/quicksight/theme.d.ts +211 -0
- package/quicksight/theme.js +97 -0
- package/quicksight/theme.js.map +1 -0
- package/rds/eventSubscription.d.ts +3 -3
- package/rds/getInstance.d.ts +1 -1
- package/rds/instance.d.ts +3 -3
- package/rds/proxy.d.ts +3 -3
- package/redshift/cluster.d.ts +8 -0
- package/redshift/cluster.js +2 -0
- package/redshift/cluster.js.map +1 -1
- package/redshift/getCluster.d.ts +5 -1
- package/redshift/getCluster.js.map +1 -1
- package/s3/bucketNotification.d.ts +15 -3
- package/s3/bucketNotification.js +12 -0
- package/s3/bucketNotification.js.map +1 -1
- package/servicecatalog/getProduct.d.ts +13 -13
- package/servicecatalog/getProduct.js +4 -4
- package/ses/activeReceiptRuleSet.d.ts +8 -0
- package/ses/activeReceiptRuleSet.js +8 -0
- package/ses/activeReceiptRuleSet.js.map +1 -1
- package/sesv2/emailIdentity.d.ts +15 -3
- package/sesv2/emailIdentity.js.map +1 -1
- package/sesv2/getEmailIdentity.d.ts +97 -0
- package/sesv2/getEmailIdentity.js +50 -0
- package/sesv2/getEmailIdentity.js.map +1 -0
- package/sesv2/getEmailIdentityMailFromAttributes.d.ts +75 -0
- package/sesv2/getEmailIdentityMailFromAttributes.js +55 -0
- package/sesv2/getEmailIdentityMailFromAttributes.js.map +1 -0
- package/sesv2/index.d.ts +6 -0
- package/sesv2/index.js +7 -1
- package/sesv2/index.js.map +1 -1
- package/sfn/alias.d.ts +136 -0
- package/sfn/alias.js +103 -0
- package/sfn/alias.js.map +1 -0
- package/sfn/getAlias.d.ts +97 -0
- package/sfn/getAlias.js +53 -0
- package/sfn/getAlias.js.map +1 -0
- package/sfn/getStateMachine.d.ts +5 -0
- package/sfn/getStateMachine.js.map +1 -1
- package/sfn/getStateMachineVersions.d.ts +65 -0
- package/sfn/getStateMachineVersions.js +49 -0
- package/sfn/getStateMachineVersions.js.map +1 -0
- package/sfn/index.d.ts +9 -0
- package/sfn/index.js +12 -1
- package/sfn/index.js.map +1 -1
- package/sfn/stateMachine.d.ts +45 -0
- package/sfn/stateMachine.js +35 -0
- package/sfn/stateMachine.js.map +1 -1
- package/ssm/patchBaseline.d.ts +6 -0
- package/ssm/patchBaseline.js.map +1 -1
- package/timestreamwrite/table.d.ts +30 -0
- package/timestreamwrite/table.js +20 -0
- package/timestreamwrite/table.js.map +1 -1
- package/transfer/agreement.d.ts +170 -0
- package/transfer/agreement.js +110 -0
- package/transfer/agreement.js.map +1 -0
- package/transfer/certificate.d.ts +172 -0
- package/transfer/certificate.js +103 -0
- package/transfer/certificate.js.map +1 -0
- package/transfer/connector.d.ts +152 -0
- package/transfer/connector.js +104 -0
- package/transfer/connector.js.map +1 -0
- package/transfer/index.d.ts +12 -0
- package/transfer/index.js +21 -1
- package/transfer/index.js.map +1 -1
- package/transfer/profile.d.ts +117 -0
- package/transfer/profile.js +78 -0
- package/transfer/profile.js.map +1 -0
- package/types/input.d.ts +9207 -97395
- package/types/output.d.ts +9845 -97697
- package/vpc/securityGroupEgressRule.d.ts +3 -3
- package/vpc/securityGroupEgressRule.js +4 -1
- package/vpc/securityGroupEgressRule.js.map +1 -1
- package/vpc/securityGroupIngressRule.d.ts +3 -3
- package/vpc/securityGroupIngressRule.js +4 -1
- package/vpc/securityGroupIngressRule.js.map +1 -1
- package/wafv2/ruleGroup.d.ts +0 -49
- package/wafv2/ruleGroup.js +0 -49
- package/wafv2/ruleGroup.js.map +1 -1
- package/wafv2/webAcl.d.ts +6 -246
- package/wafv2/webAcl.js +0 -240
- package/wafv2/webAcl.js.map +1 -1
- package/wafv2/webAclLoggingConfiguration.d.ts +17 -17
- package/wafv2/webAclLoggingConfiguration.js +5 -5
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.KxUser = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS FinSpace Kx User.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Basic Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const exampleKey = new aws.kms.Key("exampleKey", {
|
|
19
|
+
* description: "Example KMS Key",
|
|
20
|
+
* deletionWindowInDays: 7,
|
|
21
|
+
* });
|
|
22
|
+
* const exampleKxEnvironment = new aws.finspace.KxEnvironment("exampleKxEnvironment", {
|
|
23
|
+
* name: "my-tf-kx-environment",
|
|
24
|
+
* kmsKeyId: exampleKey.arn,
|
|
25
|
+
* });
|
|
26
|
+
* const exampleRole = new aws.iam.Role("exampleRole", {assumeRolePolicy: JSON.stringify({
|
|
27
|
+
* Version: "2012-10-17",
|
|
28
|
+
* Statement: [{
|
|
29
|
+
* Action: "sts:AssumeRole",
|
|
30
|
+
* Effect: "Allow",
|
|
31
|
+
* Sid: "",
|
|
32
|
+
* Principal: {
|
|
33
|
+
* Service: "ec2.amazonaws.com",
|
|
34
|
+
* },
|
|
35
|
+
* }],
|
|
36
|
+
* })});
|
|
37
|
+
* const exampleKxUser = new aws.finspace.KxUser("exampleKxUser", {
|
|
38
|
+
* name: "my-tf-kx-user",
|
|
39
|
+
* environmentId: exampleKxEnvironment.id,
|
|
40
|
+
* iamRole: exampleRole.arn,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* An AWS FinSpace Kx User can be imported using the `id` (environment ID and user name, comma-delimited), e.g.,
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import aws:finspace/kxUser:KxUser example n3ceo7wqxoxcti5tujqwzs,my-tf-kx-user
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
class KxUser extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing KxUser resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name, id, state, opts) {
|
|
63
|
+
return new KxUser(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of KxUser. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj) {
|
|
70
|
+
if (obj === undefined || obj === null) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
return obj['__pulumiType'] === KxUser.__pulumiType;
|
|
74
|
+
}
|
|
75
|
+
constructor(name, argsOrState, opts) {
|
|
76
|
+
let resourceInputs = {};
|
|
77
|
+
opts = opts || {};
|
|
78
|
+
if (opts.id) {
|
|
79
|
+
const state = argsOrState;
|
|
80
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
81
|
+
resourceInputs["environmentId"] = state ? state.environmentId : undefined;
|
|
82
|
+
resourceInputs["iamRole"] = state ? state.iamRole : undefined;
|
|
83
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
84
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
85
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
const args = argsOrState;
|
|
89
|
+
if ((!args || args.environmentId === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'environmentId'");
|
|
91
|
+
}
|
|
92
|
+
if ((!args || args.iamRole === undefined) && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'iamRole'");
|
|
94
|
+
}
|
|
95
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'name'");
|
|
97
|
+
}
|
|
98
|
+
resourceInputs["environmentId"] = args ? args.environmentId : undefined;
|
|
99
|
+
resourceInputs["iamRole"] = args ? args.iamRole : undefined;
|
|
100
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
101
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
102
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
104
|
+
}
|
|
105
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
106
|
+
super(KxUser.__pulumiType, name, resourceInputs, opts);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.KxUser = KxUser;
|
|
110
|
+
/** @internal */
|
|
111
|
+
KxUser.__pulumiType = 'aws:finspace/kxUser:KxUser';
|
|
112
|
+
//# sourceMappingURL=kxUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kxUser.js","sourceRoot":"","sources":["../../finspace/kxUser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K,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA9FL,wBA+FC;AAjFG,gBAAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
|
|
@@ -72,6 +72,10 @@ export declare class ExperimentTemplate extends pulumi.CustomResource {
|
|
|
72
72
|
* Description for the experiment template.
|
|
73
73
|
*/
|
|
74
74
|
readonly description: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The configuration for experiment logging. See below.
|
|
77
|
+
*/
|
|
78
|
+
readonly logConfiguration: pulumi.Output<outputs.fis.ExperimentTemplateLogConfiguration | undefined>;
|
|
75
79
|
/**
|
|
76
80
|
* ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
|
|
77
81
|
*/
|
|
@@ -116,6 +120,10 @@ export interface ExperimentTemplateState {
|
|
|
116
120
|
* Description for the experiment template.
|
|
117
121
|
*/
|
|
118
122
|
description?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The configuration for experiment logging. See below.
|
|
125
|
+
*/
|
|
126
|
+
logConfiguration?: pulumi.Input<inputs.fis.ExperimentTemplateLogConfiguration>;
|
|
119
127
|
/**
|
|
120
128
|
* ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
|
|
121
129
|
*/
|
|
@@ -152,6 +160,10 @@ export interface ExperimentTemplateArgs {
|
|
|
152
160
|
* Description for the experiment template.
|
|
153
161
|
*/
|
|
154
162
|
description: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The configuration for experiment logging. See below.
|
|
165
|
+
*/
|
|
166
|
+
logConfiguration?: pulumi.Input<inputs.fis.ExperimentTemplateLogConfiguration>;
|
|
155
167
|
/**
|
|
156
168
|
* ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
|
|
157
169
|
*/
|
|
@@ -82,6 +82,7 @@ class ExperimentTemplate extends pulumi.CustomResource {
|
|
|
82
82
|
const state = argsOrState;
|
|
83
83
|
resourceInputs["actions"] = state ? state.actions : undefined;
|
|
84
84
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
85
|
+
resourceInputs["logConfiguration"] = state ? state.logConfiguration : undefined;
|
|
85
86
|
resourceInputs["roleArn"] = state ? state.roleArn : undefined;
|
|
86
87
|
resourceInputs["stopConditions"] = state ? state.stopConditions : undefined;
|
|
87
88
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
@@ -104,6 +105,7 @@ class ExperimentTemplate extends pulumi.CustomResource {
|
|
|
104
105
|
}
|
|
105
106
|
resourceInputs["actions"] = args ? args.actions : undefined;
|
|
106
107
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
108
|
+
resourceInputs["logConfiguration"] = args ? args.logConfiguration : undefined;
|
|
107
109
|
resourceInputs["roleArn"] = args ? args.roleArn : undefined;
|
|
108
110
|
resourceInputs["stopConditions"] = args ? args.stopConditions : undefined;
|
|
109
111
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimentTemplate.js","sourceRoot":"","sources":["../../fis/experimentTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAA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EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA1GL,gDA2GC;AA7FG,gBAAgB;AACO,+BAAY,GAAG,+CAA+C,CAAC"}
|
package/getArn.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export interface GetArnArgs {
|
|
|
22
22
|
* ARN to parse.
|
|
23
23
|
*/
|
|
24
24
|
arn: string;
|
|
25
|
+
id?: string;
|
|
25
26
|
}
|
|
26
27
|
/**
|
|
27
28
|
* A collection of values returned by getArn.
|
|
@@ -32,9 +33,6 @@ export interface GetArnResult {
|
|
|
32
33
|
*/
|
|
33
34
|
readonly account: string;
|
|
34
35
|
readonly arn: string;
|
|
35
|
-
/**
|
|
36
|
-
* The provider-assigned unique ID for this managed resource.
|
|
37
|
-
*/
|
|
38
36
|
readonly id: string;
|
|
39
37
|
/**
|
|
40
38
|
* Partition that the resource is in.
|
|
@@ -78,4 +76,5 @@ export interface GetArnOutputArgs {
|
|
|
78
76
|
* ARN to parse.
|
|
79
77
|
*/
|
|
80
78
|
arn: pulumi.Input<string>;
|
|
79
|
+
id?: pulumi.Input<string>;
|
|
81
80
|
}
|
package/getArn.js
CHANGED
package/getArn.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getArn.js","sourceRoot":"","sources":["../getArn.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAEhE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yBAAyB,EAAE;QACpD,KAAK,EAAE,IAAI,CAAC,GAAG;
|
|
1
|
+
{"version":3,"file":"getArn.js","sourceRoot":"","sources":["../getArn.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAEhE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yBAAyB,EAAE;QACpD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wBAOC;AA0CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}
|
|
@@ -45,7 +45,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
45
45
|
* });
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
|
48
|
-
export declare function getBillingServiceAccount(opts?: pulumi.InvokeOptions): Promise<GetBillingServiceAccountResult>;
|
|
48
|
+
export declare function getBillingServiceAccount(args?: GetBillingServiceAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetBillingServiceAccountResult>;
|
|
49
|
+
/**
|
|
50
|
+
* A collection of arguments for invoking getBillingServiceAccount.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetBillingServiceAccountArgs {
|
|
53
|
+
/**
|
|
54
|
+
* ID of the AWS billing service account.
|
|
55
|
+
*/
|
|
56
|
+
id?: string;
|
|
57
|
+
}
|
|
49
58
|
/**
|
|
50
59
|
* A collection of values returned by getBillingServiceAccount.
|
|
51
60
|
*/
|
|
@@ -55,7 +64,63 @@ export interface GetBillingServiceAccountResult {
|
|
|
55
64
|
*/
|
|
56
65
|
readonly arn: string;
|
|
57
66
|
/**
|
|
58
|
-
*
|
|
67
|
+
* ID of the AWS billing service account.
|
|
59
68
|
*/
|
|
60
69
|
readonly id: string;
|
|
61
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* Use this data source to get the Account ID of the [AWS Billing and Cost Management Service Account](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-getting-started.html#step-2) for the purpose of permitting in S3 bucket policy.
|
|
73
|
+
*
|
|
74
|
+
* ## Example Usage
|
|
75
|
+
*
|
|
76
|
+
* ```typescript
|
|
77
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
78
|
+
* import * as aws from "@pulumi/aws";
|
|
79
|
+
*
|
|
80
|
+
* const main = aws.getBillingServiceAccount({});
|
|
81
|
+
* const billingLogs = new aws.s3.BucketV2("billingLogs", {});
|
|
82
|
+
* const billingLogsAcl = new aws.s3.BucketAclV2("billingLogsAcl", {
|
|
83
|
+
* bucket: billingLogs.id,
|
|
84
|
+
* acl: "private",
|
|
85
|
+
* });
|
|
86
|
+
* const allowBillingLoggingPolicyDocument = pulumi.all([main, billingLogs.arn, main, billingLogs.arn]).apply(([main, billingLogsArn, main1, billingLogsArn1]) => aws.iam.getPolicyDocumentOutput({
|
|
87
|
+
* statements: [
|
|
88
|
+
* {
|
|
89
|
+
* effect: "Allow",
|
|
90
|
+
* principals: [{
|
|
91
|
+
* type: "AWS",
|
|
92
|
+
* identifiers: [main.arn],
|
|
93
|
+
* }],
|
|
94
|
+
* actions: [
|
|
95
|
+
* "s3:GetBucketAcl",
|
|
96
|
+
* "s3:GetBucketPolicy",
|
|
97
|
+
* ],
|
|
98
|
+
* resources: [billingLogsArn],
|
|
99
|
+
* },
|
|
100
|
+
* {
|
|
101
|
+
* effect: "Allow",
|
|
102
|
+
* principals: [{
|
|
103
|
+
* type: "AWS",
|
|
104
|
+
* identifiers: [main1.arn],
|
|
105
|
+
* }],
|
|
106
|
+
* actions: ["s3:PutObject"],
|
|
107
|
+
* resources: [`${billingLogsArn1}/*`],
|
|
108
|
+
* },
|
|
109
|
+
* ],
|
|
110
|
+
* }));
|
|
111
|
+
* const allowBillingLoggingBucketPolicy = new aws.s3.BucketPolicy("allowBillingLoggingBucketPolicy", {
|
|
112
|
+
* bucket: billingLogs.id,
|
|
113
|
+
* policy: allowBillingLoggingPolicyDocument.apply(allowBillingLoggingPolicyDocument => allowBillingLoggingPolicyDocument.json),
|
|
114
|
+
* });
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
export declare function getBillingServiceAccountOutput(args?: GetBillingServiceAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBillingServiceAccountResult>;
|
|
118
|
+
/**
|
|
119
|
+
* A collection of arguments for invoking getBillingServiceAccount.
|
|
120
|
+
*/
|
|
121
|
+
export interface GetBillingServiceAccountOutputArgs {
|
|
122
|
+
/**
|
|
123
|
+
* ID of the AWS billing service account.
|
|
124
|
+
*/
|
|
125
|
+
id?: pulumi.Input<string>;
|
|
126
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getBillingServiceAccount = void 0;
|
|
5
|
+
exports.getBillingServiceAccountOutput = exports.getBillingServiceAccount = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
@@ -51,9 +51,62 @@ const utilities = require("./utilities");
|
|
|
51
51
|
* });
|
|
52
52
|
* ```
|
|
53
53
|
*/
|
|
54
|
-
function getBillingServiceAccount(opts) {
|
|
54
|
+
function getBillingServiceAccount(args, opts) {
|
|
55
|
+
args = args || {};
|
|
55
56
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
56
|
-
return pulumi.runtime.invoke("aws:index/getBillingServiceAccount:getBillingServiceAccount", {
|
|
57
|
+
return pulumi.runtime.invoke("aws:index/getBillingServiceAccount:getBillingServiceAccount", {
|
|
58
|
+
"id": args.id,
|
|
59
|
+
}, opts);
|
|
57
60
|
}
|
|
58
61
|
exports.getBillingServiceAccount = getBillingServiceAccount;
|
|
62
|
+
/**
|
|
63
|
+
* Use this data source to get the Account ID of the [AWS Billing and Cost Management Service Account](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-getting-started.html#step-2) for the purpose of permitting in S3 bucket policy.
|
|
64
|
+
*
|
|
65
|
+
* ## Example Usage
|
|
66
|
+
*
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as aws from "@pulumi/aws";
|
|
70
|
+
*
|
|
71
|
+
* const main = aws.getBillingServiceAccount({});
|
|
72
|
+
* const billingLogs = new aws.s3.BucketV2("billingLogs", {});
|
|
73
|
+
* const billingLogsAcl = new aws.s3.BucketAclV2("billingLogsAcl", {
|
|
74
|
+
* bucket: billingLogs.id,
|
|
75
|
+
* acl: "private",
|
|
76
|
+
* });
|
|
77
|
+
* const allowBillingLoggingPolicyDocument = pulumi.all([main, billingLogs.arn, main, billingLogs.arn]).apply(([main, billingLogsArn, main1, billingLogsArn1]) => aws.iam.getPolicyDocumentOutput({
|
|
78
|
+
* statements: [
|
|
79
|
+
* {
|
|
80
|
+
* effect: "Allow",
|
|
81
|
+
* principals: [{
|
|
82
|
+
* type: "AWS",
|
|
83
|
+
* identifiers: [main.arn],
|
|
84
|
+
* }],
|
|
85
|
+
* actions: [
|
|
86
|
+
* "s3:GetBucketAcl",
|
|
87
|
+
* "s3:GetBucketPolicy",
|
|
88
|
+
* ],
|
|
89
|
+
* resources: [billingLogsArn],
|
|
90
|
+
* },
|
|
91
|
+
* {
|
|
92
|
+
* effect: "Allow",
|
|
93
|
+
* principals: [{
|
|
94
|
+
* type: "AWS",
|
|
95
|
+
* identifiers: [main1.arn],
|
|
96
|
+
* }],
|
|
97
|
+
* actions: ["s3:PutObject"],
|
|
98
|
+
* resources: [`${billingLogsArn1}/*`],
|
|
99
|
+
* },
|
|
100
|
+
* ],
|
|
101
|
+
* }));
|
|
102
|
+
* const allowBillingLoggingBucketPolicy = new aws.s3.BucketPolicy("allowBillingLoggingBucketPolicy", {
|
|
103
|
+
* bucket: billingLogs.id,
|
|
104
|
+
* policy: allowBillingLoggingPolicyDocument.apply(allowBillingLoggingPolicyDocument => allowBillingLoggingPolicyDocument.json),
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
function getBillingServiceAccountOutput(args, opts) {
|
|
109
|
+
return pulumi.output(args).apply((a) => getBillingServiceAccount(a, opts));
|
|
110
|
+
}
|
|
111
|
+
exports.getBillingServiceAccountOutput = getBillingServiceAccountOutput;
|
|
59
112
|
//# sourceMappingURL=getBillingServiceAccount.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBillingServiceAccount.js","sourceRoot":"","sources":["../getBillingServiceAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,wBAAwB,CAAC,IAA2B;
|
|
1
|
+
{"version":3,"file":"getBillingServiceAccount.js","sourceRoot":"","sources":["../getBillingServiceAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC;AAyBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAA2B;IACjH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
|
package/getCallerIdentity.d.ts
CHANGED
|
@@ -15,7 +15,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* export const callerUser = current.then(current => current.userId);
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
|
-
export declare function getCallerIdentity(opts?: pulumi.InvokeOptions): Promise<GetCallerIdentityResult>;
|
|
18
|
+
export declare function getCallerIdentity(args?: GetCallerIdentityArgs, opts?: pulumi.InvokeOptions): Promise<GetCallerIdentityResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getCallerIdentity.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCallerIdentityArgs {
|
|
23
|
+
/**
|
|
24
|
+
* Account ID number of the account that owns or contains the calling entity.
|
|
25
|
+
*/
|
|
26
|
+
id?: string;
|
|
27
|
+
}
|
|
19
28
|
/**
|
|
20
29
|
* A collection of values returned by getCallerIdentity.
|
|
21
30
|
*/
|
|
@@ -29,7 +38,7 @@ export interface GetCallerIdentityResult {
|
|
|
29
38
|
*/
|
|
30
39
|
readonly arn: string;
|
|
31
40
|
/**
|
|
32
|
-
*
|
|
41
|
+
* Account ID number of the account that owns or contains the calling entity.
|
|
33
42
|
*/
|
|
34
43
|
readonly id: string;
|
|
35
44
|
/**
|
|
@@ -37,3 +46,29 @@ export interface GetCallerIdentityResult {
|
|
|
37
46
|
*/
|
|
38
47
|
readonly userId: string;
|
|
39
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Use this data source to get the access to the effective Account ID, User ID, and ARN in
|
|
51
|
+
* which this provider is authorized.
|
|
52
|
+
*
|
|
53
|
+
* ## Example Usage
|
|
54
|
+
*
|
|
55
|
+
* ```typescript
|
|
56
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
57
|
+
* import * as aws from "@pulumi/aws";
|
|
58
|
+
*
|
|
59
|
+
* const current = aws.getCallerIdentity({});
|
|
60
|
+
* export const accountId = current.then(current => current.accountId);
|
|
61
|
+
* export const callerArn = current.then(current => current.arn);
|
|
62
|
+
* export const callerUser = current.then(current => current.userId);
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function getCallerIdentityOutput(args?: GetCallerIdentityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCallerIdentityResult>;
|
|
66
|
+
/**
|
|
67
|
+
* A collection of arguments for invoking getCallerIdentity.
|
|
68
|
+
*/
|
|
69
|
+
export interface GetCallerIdentityOutputArgs {
|
|
70
|
+
/**
|
|
71
|
+
* Account ID number of the account that owns or contains the calling entity.
|
|
72
|
+
*/
|
|
73
|
+
id?: pulumi.Input<string>;
|
|
74
|
+
}
|
package/getCallerIdentity.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getCallerIdentity = void 0;
|
|
5
|
+
exports.getCallerIdentityOutput = exports.getCallerIdentity = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
@@ -21,9 +21,32 @@ const utilities = require("./utilities");
|
|
|
21
21
|
* export const callerUser = current.then(current => current.userId);
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
function getCallerIdentity(opts) {
|
|
24
|
+
function getCallerIdentity(args, opts) {
|
|
25
|
+
args = args || {};
|
|
25
26
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
-
return pulumi.runtime.invoke("aws:index/getCallerIdentity:getCallerIdentity", {
|
|
27
|
+
return pulumi.runtime.invoke("aws:index/getCallerIdentity:getCallerIdentity", {
|
|
28
|
+
"id": args.id,
|
|
29
|
+
}, opts);
|
|
27
30
|
}
|
|
28
31
|
exports.getCallerIdentity = getCallerIdentity;
|
|
32
|
+
/**
|
|
33
|
+
* Use this data source to get the access to the effective Account ID, User ID, and ARN in
|
|
34
|
+
* which this provider is authorized.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as aws from "@pulumi/aws";
|
|
41
|
+
*
|
|
42
|
+
* const current = aws.getCallerIdentity({});
|
|
43
|
+
* export const accountId = current.then(current => current.accountId);
|
|
44
|
+
* export const callerArn = current.then(current => current.arn);
|
|
45
|
+
* export const callerUser = current.then(current => current.userId);
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
function getCallerIdentityOutput(args, opts) {
|
|
49
|
+
return pulumi.output(args).apply((a) => getCallerIdentity(a, opts));
|
|
50
|
+
}
|
|
51
|
+
exports.getCallerIdentityOutput = getCallerIdentityOutput;
|
|
29
52
|
//# sourceMappingURL=getCallerIdentity.js.map
|
package/getCallerIdentity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCallerIdentity.js","sourceRoot":"","sources":["../getCallerIdentity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B;
|
|
1
|
+
{"version":3,"file":"getCallerIdentity.js","sourceRoot":"","sources":["../getCallerIdentity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAiCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
package/getDefaultTags.d.ts
CHANGED
|
@@ -19,20 +19,12 @@ export declare function getDefaultTags(args?: GetDefaultTagsArgs, opts?: pulumi.
|
|
|
19
19
|
* A collection of arguments for invoking getDefaultTags.
|
|
20
20
|
*/
|
|
21
21
|
export interface GetDefaultTagsArgs {
|
|
22
|
-
|
|
23
|
-
* Blocks of default tags set on the provider. See details below.
|
|
24
|
-
*/
|
|
25
|
-
tags?: {
|
|
26
|
-
[key: string]: string;
|
|
27
|
-
};
|
|
22
|
+
id?: string;
|
|
28
23
|
}
|
|
29
24
|
/**
|
|
30
25
|
* A collection of values returned by getDefaultTags.
|
|
31
26
|
*/
|
|
32
27
|
export interface GetDefaultTagsResult {
|
|
33
|
-
/**
|
|
34
|
-
* The provider-assigned unique ID for this managed resource.
|
|
35
|
-
*/
|
|
36
28
|
readonly id: string;
|
|
37
29
|
/**
|
|
38
30
|
* Blocks of default tags set on the provider. See details below.
|
|
@@ -61,10 +53,5 @@ export declare function getDefaultTagsOutput(args?: GetDefaultTagsOutputArgs, op
|
|
|
61
53
|
* A collection of arguments for invoking getDefaultTags.
|
|
62
54
|
*/
|
|
63
55
|
export interface GetDefaultTagsOutputArgs {
|
|
64
|
-
|
|
65
|
-
* Blocks of default tags set on the provider. See details below.
|
|
66
|
-
*/
|
|
67
|
-
tags?: pulumi.Input<{
|
|
68
|
-
[key: string]: pulumi.Input<string>;
|
|
69
|
-
}>;
|
|
56
|
+
id?: pulumi.Input<string>;
|
|
70
57
|
}
|
package/getDefaultTags.js
CHANGED
|
@@ -24,7 +24,7 @@ function getDefaultTags(args, opts) {
|
|
|
24
24
|
args = args || {};
|
|
25
25
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
26
|
return pulumi.runtime.invoke("aws:index/getDefaultTags:getDefaultTags", {
|
|
27
|
-
"
|
|
27
|
+
"id": args.id,
|
|
28
28
|
}, opts);
|
|
29
29
|
}
|
|
30
30
|
exports.getDefaultTags = getDefaultTags;
|
package/getDefaultTags.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultTags.js","sourceRoot":"","sources":["../getDefaultTags.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,
|
|
1
|
+
{"version":3,"file":"getDefaultTags.js","sourceRoot":"","sources":["../getDefaultTags.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AAmBD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/getIpRanges.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export declare function getIpRanges(args: GetIpRangesArgs, opts?: pulumi.InvokeO
|
|
|
35
35
|
* A collection of arguments for invoking getIpRanges.
|
|
36
36
|
*/
|
|
37
37
|
export interface GetIpRangesArgs {
|
|
38
|
+
id?: string;
|
|
38
39
|
/**
|
|
39
40
|
* Filter IP ranges by regions (or include all regions, if
|
|
40
41
|
* omitted). Valid items are `global` (for `cloudfront`) as well as all AWS regions
|
|
@@ -69,9 +70,6 @@ export interface GetIpRangesResult {
|
|
|
69
70
|
* Publication time of the IP ranges (e.g., `2016-08-03-23-46-05`).
|
|
70
71
|
*/
|
|
71
72
|
readonly createDate: string;
|
|
72
|
-
/**
|
|
73
|
-
* The provider-assigned unique ID for this managed resource.
|
|
74
|
-
*/
|
|
75
73
|
readonly id: string;
|
|
76
74
|
/**
|
|
77
75
|
* Lexically ordered list of IPv6 CIDR blocks.
|
|
@@ -122,6 +120,7 @@ export declare function getIpRangesOutput(args: GetIpRangesOutputArgs, opts?: pu
|
|
|
122
120
|
* A collection of arguments for invoking getIpRanges.
|
|
123
121
|
*/
|
|
124
122
|
export interface GetIpRangesOutputArgs {
|
|
123
|
+
id?: pulumi.Input<string>;
|
|
125
124
|
/**
|
|
126
125
|
* Filter IP ranges by regions (or include all regions, if
|
|
127
126
|
* omitted). Valid items are `global` (for `cloudfront`) as well as all AWS regions
|
package/getIpRanges.js
CHANGED
|
@@ -39,6 +39,7 @@ const utilities = require("./utilities");
|
|
|
39
39
|
function getIpRanges(args, opts) {
|
|
40
40
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
41
41
|
return pulumi.runtime.invoke("aws:index/getIpRanges:getIpRanges", {
|
|
42
|
+
"id": args.id,
|
|
42
43
|
"regions": args.regions,
|
|
43
44
|
"services": args.services,
|
|
44
45
|
"url": args.url,
|
package/getIpRanges.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIpRanges.js","sourceRoot":"","sources":["../getIpRanges.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IA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i from "@pulumi/pulumi";
|
|
|
19
19
|
* }));
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export declare function getPartition(opts?: pulumi.InvokeOptions): Promise<GetPartitionResult>;
|
|
22
|
+
export declare function getPartition(args?: GetPartitionArgs, opts?: pulumi.InvokeOptions): Promise<GetPartitionResult>;
|
|
23
|
+
/**
|
|
24
|
+
* A collection of arguments for invoking getPartition.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetPartitionArgs {
|
|
27
|
+
/**
|
|
28
|
+
* Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China).
|
|
29
|
+
*/
|
|
30
|
+
id?: string;
|
|
31
|
+
}
|
|
23
32
|
/**
|
|
24
33
|
* A collection of values returned by getPartition.
|
|
25
34
|
*/
|
|
@@ -29,7 +38,7 @@ export interface GetPartitionResult {
|
|
|
29
38
|
*/
|
|
30
39
|
readonly dnsSuffix: string;
|
|
31
40
|
/**
|
|
32
|
-
*
|
|
41
|
+
* Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China).
|
|
33
42
|
*/
|
|
34
43
|
readonly id: string;
|
|
35
44
|
/**
|
|
@@ -41,3 +50,33 @@ export interface GetPartitionResult {
|
|
|
41
50
|
*/
|
|
42
51
|
readonly reverseDnsPrefix: string;
|
|
43
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Use this data source to lookup information about the current AWS partition in
|
|
55
|
+
* which the provider is working.
|
|
56
|
+
*
|
|
57
|
+
* ## Example Usage
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as aws from "@pulumi/aws";
|
|
62
|
+
*
|
|
63
|
+
* const current = aws.getPartition({});
|
|
64
|
+
* const s3Policy = current.then(current => aws.iam.getPolicyDocument({
|
|
65
|
+
* statements: [{
|
|
66
|
+
* actions: ["s3:ListBucket"],
|
|
67
|
+
* resources: [`arn:${current.partition}:s3:::my-bucket`],
|
|
68
|
+
* sid: "1",
|
|
69
|
+
* }],
|
|
70
|
+
* }));
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare function getPartitionOutput(args?: GetPartitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPartitionResult>;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of arguments for invoking getPartition.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetPartitionOutputArgs {
|
|
78
|
+
/**
|
|
79
|
+
* Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China).
|
|
80
|
+
*/
|
|
81
|
+
id?: pulumi.Input<string>;
|
|
82
|
+
}
|