@pulumi/aws 7.0.0-alpha.2 → 7.0.0-rc.1
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/accessanalyzer/analyzer.d.ts +54 -7
- package/accessanalyzer/analyzer.js +48 -1
- package/accessanalyzer/analyzer.js.map +1 -1
- package/amp/index.d.ts +3 -0
- package/amp/index.js +6 -1
- package/amp/index.js.map +1 -1
- package/amp/queryLoggingConfiguration.d.ts +107 -0
- package/amp/queryLoggingConfiguration.js +82 -0
- package/amp/queryLoggingConfiguration.js.map +1 -0
- package/amplify/app.d.ts +26 -0
- package/amplify/app.js +16 -0
- package/amplify/app.js.map +1 -1
- package/amplify/branch.d.ts +12 -0
- package/amplify/branch.js +2 -0
- package/amplify/branch.js.map +1 -1
- package/bedrock/agentAgent.d.ts +2 -2
- package/bedrock/agentAgent.js +2 -2
- package/bedrock/agentAgentCollaborator.d.ts +4 -4
- package/bedrock/agentAgentCollaborator.js +4 -4
- package/cloudfront/distribution.d.ts +12 -0
- package/cloudfront/distribution.js +2 -0
- package/cloudfront/distribution.js.map +1 -1
- package/cloudfront/getDistribution.d.ts +4 -0
- package/cloudfront/getDistribution.js.map +1 -1
- package/cloudtrail/trail.d.ts +2 -2
- package/cloudtrail/trail.js +2 -2
- package/cloudwatch/eventArchive.d.ts +91 -15
- package/cloudwatch/eventArchive.js +67 -1
- package/cloudwatch/eventArchive.js.map +1 -1
- package/cloudwatch/logGroup.d.ts +6 -6
- package/codeartifact/domainPermissions.d.ts +1 -1
- package/codeartifact/domainPermissions.js +0 -3
- package/codeartifact/domainPermissions.js.map +1 -1
- package/connect/botAssociation.d.ts +1 -1
- package/connect/botAssociation.js +1 -1
- package/controltower/controlTowerControl.d.ts +1 -1
- package/controltower/controlTowerControl.js +1 -1
- package/cur/reportDefinition.d.ts +3 -3
- package/datasync/agent.d.ts +1 -1
- package/datasync/agent.js +1 -1
- package/dynamodb/table.d.ts +36 -1
- package/dynamodb/table.js +36 -1
- package/dynamodb/table.js.map +1 -1
- package/dynamodb/tag.d.ts +1 -1
- package/dynamodb/tag.js +1 -1
- package/ec2/getManagedPrefixList.d.ts +2 -2
- package/ec2/getManagedPrefixList.js +2 -2
- package/ec2/securityGroupRule.d.ts +1 -1
- package/ec2/securityGroupRule.js +1 -1
- package/ec2/vpc.d.ts +2 -2
- package/ec2/vpc.js +2 -2
- package/ec2/vpcIpam.d.ts +1 -1
- package/ec2/vpcIpam.js +1 -1
- package/ec2/vpcIpamPool.d.ts +4 -4
- package/ec2/vpcIpamPool.js +4 -4
- package/ec2/vpcIpamPoolCidr.d.ts +3 -3
- package/ec2/vpcIpamPoolCidr.js +3 -3
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +4 -4
- package/ec2/vpcIpamPoolCidrAllocation.js +4 -4
- package/ec2/vpcIpamPreviewNextCidr.d.ts +2 -2
- package/ec2/vpcIpamPreviewNextCidr.js +2 -2
- package/ec2/vpcIpamResourceDiscovery.d.ts +1 -1
- package/ec2/vpcIpamResourceDiscovery.js +1 -1
- package/ec2/vpcIpamScope.d.ts +1 -1
- package/ec2/vpcIpamScope.js +1 -1
- package/ecr/registryPolicy.d.ts +1 -1
- package/ecr/registryPolicy.js +1 -1
- package/eks/cluster.d.ts +2 -4
- package/eks/cluster.js +0 -2
- package/eks/cluster.js.map +1 -1
- package/eks/podIdentityAssociation.d.ts +32 -0
- package/eks/podIdentityAssociation.js +6 -0
- package/eks/podIdentityAssociation.js.map +1 -1
- package/elasticsearch/domain.d.ts +2 -2
- package/elasticsearch/domain.js +2 -2
- package/emr/cluster.d.ts +12 -0
- package/emr/cluster.js +2 -0
- package/emr/cluster.js.map +1 -1
- package/fms/policy.d.ts +12 -0
- package/fms/policy.js +2 -0
- package/fms/policy.js.map +1 -1
- package/getRegion.d.ts +2 -2
- package/getService.d.ts +2 -2
- package/getService.js +2 -2
- package/glue/job.d.ts +12 -0
- package/glue/job.js +2 -0
- package/glue/job.js.map +1 -1
- package/glue/resourcePolicy.d.ts +1 -1
- package/glue/resourcePolicy.js +1 -1
- package/guardduty/detectorFeature.d.ts +21 -0
- package/guardduty/detectorFeature.js +21 -0
- package/guardduty/detectorFeature.js.map +1 -1
- package/guardduty/memberDetectorFeature.d.ts +1 -11
- package/guardduty/memberDetectorFeature.js +1 -11
- package/guardduty/memberDetectorFeature.js.map +1 -1
- package/guardduty/publishingDestination.d.ts +2 -2
- package/guardduty/publishingDestination.js +2 -2
- package/iam/rolePolicy.d.ts +21 -15
- package/iam/rolePolicy.js.map +1 -1
- package/imagebuilder/imageRecipe.d.ts +1 -1
- package/imagebuilder/imageRecipe.js +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +1 -1
- package/kinesis/firehoseDeliveryStream.js +1 -1
- package/kinesis/getStreamConsumer.d.ts +9 -0
- package/kinesis/getStreamConsumer.js +2 -0
- package/kinesis/getStreamConsumer.js.map +1 -1
- package/kinesis/streamConsumer.d.ts +15 -0
- package/kinesis/streamConsumer.js +4 -0
- package/kinesis/streamConsumer.js.map +1 -1
- package/kms/getKey.d.ts +1 -1
- package/kms/key.d.ts +3 -3
- package/lightsail/instancePublicPorts.d.ts +6 -6
- package/macie/findingsFilter.d.ts +1 -1
- package/macie/findingsFilter.js +1 -1
- package/mediastore/containerPolicy.d.ts +1 -1
- package/mediastore/containerPolicy.js +1 -1
- package/networkfirewall/firewallPolicy.d.ts +51 -2
- package/networkfirewall/firewallPolicy.js +51 -2
- package/networkfirewall/firewallPolicy.js.map +1 -1
- package/networkmanager/dxGatewayAttachment.d.ts +1 -1
- package/networkmanager/dxGatewayAttachment.js +1 -1
- package/opensearch/domain.d.ts +2 -2
- package/opensearch/domain.js +2 -2
- package/opensearch/inboundConnectionAccepter.d.ts +2 -2
- package/opensearch/inboundConnectionAccepter.js +2 -2
- package/opensearch/outboundConnection.d.ts +2 -2
- package/opensearch/outboundConnection.js +2 -2
- package/opensearchingest/pipeline.d.ts +1 -1
- package/opensearchingest/pipeline.js +1 -1
- package/package.json +2 -2
- package/quicksight/dataSource.d.ts +1 -1
- package/quicksight/dataSource.js +1 -1
- package/rbin/rule.d.ts +52 -17
- package/rbin/rule.js +26 -1
- package/rbin/rule.js.map +1 -1
- package/route53/getTrafficPolicyDocument.d.ts +4 -4
- package/route53/getTrafficPolicyDocument.js +4 -4
- package/route53/profilesResourceAssociation.d.ts +1 -1
- package/s3/bucket.d.ts +5 -4
- package/s3/bucketPolicy.d.ts +2 -0
- package/s3/bucketPolicy.js +2 -0
- package/s3/bucketPolicy.js.map +1 -1
- package/s3/directoryBucket.d.ts +30 -0
- package/s3/directoryBucket.js +4 -0
- package/s3/directoryBucket.js.map +1 -1
- package/s3tables/table.d.ts +62 -0
- package/s3tables/table.js +49 -0
- package/s3tables/table.js.map +1 -1
- package/sagemaker/flowDefinition.d.ts +1 -1
- package/sagemaker/flowDefinition.js +1 -1
- package/securityhub/productSubscription.d.ts +1 -1
- package/securityhub/productSubscription.js +1 -1
- package/securityhub/standardsSubscription.d.ts +1 -1
- package/securityhub/standardsSubscription.js +1 -1
- package/serverlessrepository/cloudFormationStack.d.ts +1 -1
- package/serverlessrepository/cloudFormationStack.js +1 -1
- package/shield/drtAccessLogBucketAssociation.d.ts +1 -1
- package/shield/drtAccessLogBucketAssociation.js +1 -1
- package/shield/protection.d.ts +1 -1
- package/shield/protection.js +1 -1
- package/shield/protectionGroup.d.ts +2 -2
- package/shield/protectionGroup.js +2 -2
- package/shield/protectionHealthCheckAssociation.d.ts +1 -1
- package/shield/protectionHealthCheckAssociation.js +1 -1
- package/ssm/parameter.d.ts +1 -1
- package/ssm/quicksetupConfigurationManager.d.ts +2 -2
- package/ssm/quicksetupConfigurationManager.js +2 -2
- package/ssoadmin/applicationAccessScope.d.ts +1 -1
- package/ssoadmin/applicationAccessScope.js +1 -1
- package/ssoadmin/applicationAssignment.d.ts +2 -2
- package/ssoadmin/applicationAssignment.js +2 -2
- package/ssoadmin/applicationAssignmentConfiguration.d.ts +1 -1
- package/ssoadmin/applicationAssignmentConfiguration.js +1 -1
- package/ssoadmin/getApplicationAssignments.d.ts +2 -2
- package/ssoadmin/getApplicationAssignments.js +2 -2
- package/types/input.d.ts +217 -26
- package/types/input.js.map +1 -1
- package/types/output.d.ts +209 -25
- package/types/output.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainPermissions.js","sourceRoot":"","sources":["../../codeartifact/domainPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CA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,CAAC;aACzD;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAtFL,8CAuFC;AAzEG,gBAAgB;AACO,8BAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -64,7 +64,7 @@ import * as outputs from "../types/output";
|
|
|
64
64
|
* const exampleBotAssociation = new aws.connect.BotAssociation("example", {
|
|
65
65
|
* instanceId: exampleAwsConnectInstance.id,
|
|
66
66
|
* lexBot: {
|
|
67
|
-
* lexRegion: current.then(current => current.
|
|
67
|
+
* lexRegion: current.then(current => current.region),
|
|
68
68
|
* name: exampleBot.name,
|
|
69
69
|
* },
|
|
70
70
|
* });
|
|
@@ -68,7 +68,7 @@ const utilities = require("../utilities");
|
|
|
68
68
|
* const exampleBotAssociation = new aws.connect.BotAssociation("example", {
|
|
69
69
|
* instanceId: exampleAwsConnectInstance.id,
|
|
70
70
|
* lexBot: {
|
|
71
|
-
* lexRegion: current.then(current => current.
|
|
71
|
+
* lexRegion: current.then(current => current.region),
|
|
72
72
|
* name: exampleBot.name,
|
|
73
73
|
* },
|
|
74
74
|
* });
|
|
@@ -17,7 +17,7 @@ import * as outputs from "../types/output";
|
|
|
17
17
|
* parentId: example.roots?.[0]?.id,
|
|
18
18
|
* }));
|
|
19
19
|
* const exampleControlTowerControl = new aws.controltower.ControlTowerControl("example", {
|
|
20
|
-
* controlIdentifier: current.then(current => `arn:aws:controltower:${current.
|
|
20
|
+
* controlIdentifier: current.then(current => `arn:aws:controltower:${current.region}::control/AWS-GR_EC2_VOLUME_INUSE_CHECK`),
|
|
21
21
|
* targetIdentifier: exampleGetOrganizationalUnits.then(exampleGetOrganizationalUnits => .filter(x => x.name == "Infrastructure").map(x => (x.arn))[0]),
|
|
22
22
|
* parameters: [{
|
|
23
23
|
* key: "AllowedRegions",
|
|
@@ -21,7 +21,7 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* parentId: example.roots?.[0]?.id,
|
|
22
22
|
* }));
|
|
23
23
|
* const exampleControlTowerControl = new aws.controltower.ControlTowerControl("example", {
|
|
24
|
-
* controlIdentifier: current.then(current => `arn:aws:controltower:${current.
|
|
24
|
+
* controlIdentifier: current.then(current => `arn:aws:controltower:${current.region}::control/AWS-GR_EC2_VOLUME_INUSE_CHECK`),
|
|
25
25
|
* targetIdentifier: exampleGetOrganizationalUnits.then(exampleGetOrganizationalUnits => .filter(x => x.name == "Infrastructure").map(x => (x.arn))[0]),
|
|
26
26
|
* parameters: [{
|
|
27
27
|
* key: "AllowedRegions",
|
|
@@ -90,7 +90,7 @@ export declare class ReportDefinition extends pulumi.CustomResource {
|
|
|
90
90
|
*/
|
|
91
91
|
readonly s3Bucket: pulumi.Output<string>;
|
|
92
92
|
/**
|
|
93
|
-
* Report path prefix. Limited to 256 characters.
|
|
93
|
+
* Report path prefix. Limited to 256 characters. May be empty (`""`) but the resource can then not be modified via the AWS Console.
|
|
94
94
|
*/
|
|
95
95
|
readonly s3Prefix: pulumi.Output<string>;
|
|
96
96
|
/**
|
|
@@ -163,7 +163,7 @@ export interface ReportDefinitionState {
|
|
|
163
163
|
*/
|
|
164
164
|
s3Bucket?: pulumi.Input<string>;
|
|
165
165
|
/**
|
|
166
|
-
* Report path prefix. Limited to 256 characters.
|
|
166
|
+
* Report path prefix. Limited to 256 characters. May be empty (`""`) but the resource can then not be modified via the AWS Console.
|
|
167
167
|
*/
|
|
168
168
|
s3Prefix?: pulumi.Input<string>;
|
|
169
169
|
/**
|
|
@@ -224,7 +224,7 @@ export interface ReportDefinitionArgs {
|
|
|
224
224
|
*/
|
|
225
225
|
s3Bucket: pulumi.Input<string>;
|
|
226
226
|
/**
|
|
227
|
-
* Report path prefix. Limited to 256 characters.
|
|
227
|
+
* Report path prefix. Limited to 256 characters. May be empty (`""`) but the resource can then not be modified via the AWS Console.
|
|
228
228
|
*/
|
|
229
229
|
s3Prefix: pulumi.Input<string>;
|
|
230
230
|
/**
|
package/datasync/agent.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
*
|
|
25
25
|
* const current = aws.getRegion({});
|
|
26
26
|
* const exampleVpcEndpoint = new aws.ec2.VpcEndpoint("example", {
|
|
27
|
-
* serviceName: current.then(current => `com.amazonaws.${current.
|
|
27
|
+
* serviceName: current.then(current => `com.amazonaws.${current.region}.datasync`),
|
|
28
28
|
* vpcId: exampleAwsVpc.id,
|
|
29
29
|
* securityGroupIds: [exampleAwsSecurityGroup.id],
|
|
30
30
|
* subnetIds: [exampleAwsSubnet.id],
|
package/datasync/agent.js
CHANGED
|
@@ -30,7 +30,7 @@ const utilities = require("../utilities");
|
|
|
30
30
|
*
|
|
31
31
|
* const current = aws.getRegion({});
|
|
32
32
|
* const exampleVpcEndpoint = new aws.ec2.VpcEndpoint("example", {
|
|
33
|
-
* serviceName: current.then(current => `com.amazonaws.${current.
|
|
33
|
+
* serviceName: current.then(current => `com.amazonaws.${current.region}.datasync`),
|
|
34
34
|
* vpcId: exampleAwsVpc.id,
|
|
35
35
|
* securityGroupIds: [exampleAwsSecurityGroup.id],
|
|
36
36
|
* subnetIds: [exampleAwsSubnet.id],
|
package/dynamodb/table.d.ts
CHANGED
|
@@ -99,6 +99,41 @@ import * as outputs from "../types/output";
|
|
|
99
99
|
* });
|
|
100
100
|
* ```
|
|
101
101
|
*
|
|
102
|
+
* ### Global Tables with Multi-Region Strong Consistency
|
|
103
|
+
*
|
|
104
|
+
* A global table configured for Multi-Region strong consistency (MRSC) provides the ability to perform a strongly consistent read with multi-Region scope. Performing a strongly consistent read on an MRSC table ensures you're always reading the latest version of an item, irrespective of the Region in which you're performing the read.
|
|
105
|
+
*
|
|
106
|
+
* **Note** Please see detailed information, restrictions, caveats etc on the [AWS Support Page](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/multi-region-strong-consistency-gt.html).
|
|
107
|
+
*
|
|
108
|
+
* Consistency Mode (`consistencyMode`) is a new argument on the embedded `replica` that allows you to configure consistency mode for Global Tables.
|
|
109
|
+
*
|
|
110
|
+
* ```typescript
|
|
111
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
112
|
+
* import * as aws from "@pulumi/aws";
|
|
113
|
+
*
|
|
114
|
+
* const example = new aws.dynamodb.Table("example", {
|
|
115
|
+
* name: "example",
|
|
116
|
+
* hashKey: "TestTableHashKey",
|
|
117
|
+
* billingMode: "PAY_PER_REQUEST",
|
|
118
|
+
* streamEnabled: true,
|
|
119
|
+
* streamViewType: "NEW_AND_OLD_IMAGES",
|
|
120
|
+
* attributes: [{
|
|
121
|
+
* name: "TestTableHashKey",
|
|
122
|
+
* type: "S",
|
|
123
|
+
* }],
|
|
124
|
+
* replicas: [
|
|
125
|
+
* {
|
|
126
|
+
* regionName: "us-east-2",
|
|
127
|
+
* consistencyMode: "STRONG",
|
|
128
|
+
* },
|
|
129
|
+
* {
|
|
130
|
+
* regionName: "us-west-2",
|
|
131
|
+
* consistencyMode: "STRONG",
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* });
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
102
137
|
* ### Replica Tagging
|
|
103
138
|
*
|
|
104
139
|
* You can manage global table replicas' tags in various ways. This example shows using `replica.*.propagate_tags` for the first replica and the `aws.dynamodb.Tag` resource for the other.
|
|
@@ -138,7 +173,7 @@ import * as outputs from "../types/output";
|
|
|
138
173
|
* const exampleTag = new aws.dynamodb.Tag("example", {
|
|
139
174
|
* resourceArn: pulumi.all([example.arn, current, alternate]).apply(([arn, current, alternate]) => std.replaceOutput({
|
|
140
175
|
* text: arn,
|
|
141
|
-
* search: current.
|
|
176
|
+
* search: current.region,
|
|
142
177
|
* replace: alternate.name,
|
|
143
178
|
* })).apply(invoke => invoke.result),
|
|
144
179
|
* key: "Architect",
|
package/dynamodb/table.js
CHANGED
|
@@ -103,6 +103,41 @@ const utilities = require("../utilities");
|
|
|
103
103
|
* });
|
|
104
104
|
* ```
|
|
105
105
|
*
|
|
106
|
+
* ### Global Tables with Multi-Region Strong Consistency
|
|
107
|
+
*
|
|
108
|
+
* A global table configured for Multi-Region strong consistency (MRSC) provides the ability to perform a strongly consistent read with multi-Region scope. Performing a strongly consistent read on an MRSC table ensures you're always reading the latest version of an item, irrespective of the Region in which you're performing the read.
|
|
109
|
+
*
|
|
110
|
+
* **Note** Please see detailed information, restrictions, caveats etc on the [AWS Support Page](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/multi-region-strong-consistency-gt.html).
|
|
111
|
+
*
|
|
112
|
+
* Consistency Mode (`consistencyMode`) is a new argument on the embedded `replica` that allows you to configure consistency mode for Global Tables.
|
|
113
|
+
*
|
|
114
|
+
* ```typescript
|
|
115
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
116
|
+
* import * as aws from "@pulumi/aws";
|
|
117
|
+
*
|
|
118
|
+
* const example = new aws.dynamodb.Table("example", {
|
|
119
|
+
* name: "example",
|
|
120
|
+
* hashKey: "TestTableHashKey",
|
|
121
|
+
* billingMode: "PAY_PER_REQUEST",
|
|
122
|
+
* streamEnabled: true,
|
|
123
|
+
* streamViewType: "NEW_AND_OLD_IMAGES",
|
|
124
|
+
* attributes: [{
|
|
125
|
+
* name: "TestTableHashKey",
|
|
126
|
+
* type: "S",
|
|
127
|
+
* }],
|
|
128
|
+
* replicas: [
|
|
129
|
+
* {
|
|
130
|
+
* regionName: "us-east-2",
|
|
131
|
+
* consistencyMode: "STRONG",
|
|
132
|
+
* },
|
|
133
|
+
* {
|
|
134
|
+
* regionName: "us-west-2",
|
|
135
|
+
* consistencyMode: "STRONG",
|
|
136
|
+
* },
|
|
137
|
+
* ],
|
|
138
|
+
* });
|
|
139
|
+
* ```
|
|
140
|
+
*
|
|
106
141
|
* ### Replica Tagging
|
|
107
142
|
*
|
|
108
143
|
* You can manage global table replicas' tags in various ways. This example shows using `replica.*.propagate_tags` for the first replica and the `aws.dynamodb.Tag` resource for the other.
|
|
@@ -142,7 +177,7 @@ const utilities = require("../utilities");
|
|
|
142
177
|
* const exampleTag = new aws.dynamodb.Tag("example", {
|
|
143
178
|
* resourceArn: pulumi.all([example.arn, current, alternate]).apply(([arn, current, alternate]) => std.replaceOutput({
|
|
144
179
|
* text: arn,
|
|
145
|
-
* search: current.
|
|
180
|
+
* search: current.region,
|
|
146
181
|
* replace: alternate.name,
|
|
147
182
|
* })).apply(invoke => invoke.result),
|
|
148
183
|
* key: "Architect",
|
package/dynamodb/table.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../dynamodb/table.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../dynamodb/table.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AAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAjOL,sBAkOC;AApNG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
|
package/dynamodb/tag.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
21
|
* const test = new aws.dynamodb.Tag("test", {
|
|
22
22
|
* resourceArn: pulumi.all([example.arn, current, replica]).apply(([arn, current, replica]) => std.replaceOutput({
|
|
23
23
|
* text: arn,
|
|
24
|
-
* search: current.
|
|
24
|
+
* search: current.region,
|
|
25
25
|
* replace: replica.name,
|
|
26
26
|
* })).apply(invoke => invoke.result),
|
|
27
27
|
* key: "testkey",
|
package/dynamodb/tag.js
CHANGED
|
@@ -27,7 +27,7 @@ const utilities = require("../utilities");
|
|
|
27
27
|
* const test = new aws.dynamodb.Tag("test", {
|
|
28
28
|
* resourceArn: pulumi.all([example.arn, current, replica]).apply(([arn, current, replica]) => std.replaceOutput({
|
|
29
29
|
* text: arn,
|
|
30
|
-
* search: current.
|
|
30
|
+
* search: current.region,
|
|
31
31
|
* replace: replica.name,
|
|
32
32
|
* })).apply(invoke => invoke.result),
|
|
33
33
|
* key: "testkey",
|
|
@@ -15,7 +15,7 @@ import * as outputs from "../types/output";
|
|
|
15
15
|
*
|
|
16
16
|
* const current = aws.getRegion({});
|
|
17
17
|
* const example = current.then(current => aws.ec2.getManagedPrefixList({
|
|
18
|
-
* name: `com.amazonaws.${current.
|
|
18
|
+
* name: `com.amazonaws.${current.region}.dynamodb`,
|
|
19
19
|
* }));
|
|
20
20
|
* ```
|
|
21
21
|
*
|
|
@@ -121,7 +121,7 @@ export interface GetManagedPrefixListResult {
|
|
|
121
121
|
*
|
|
122
122
|
* const current = aws.getRegion({});
|
|
123
123
|
* const example = current.then(current => aws.ec2.getManagedPrefixList({
|
|
124
|
-
* name: `com.amazonaws.${current.
|
|
124
|
+
* name: `com.amazonaws.${current.region}.dynamodb`,
|
|
125
125
|
* }));
|
|
126
126
|
* ```
|
|
127
127
|
*
|
|
@@ -19,7 +19,7 @@ const utilities = require("../utilities");
|
|
|
19
19
|
*
|
|
20
20
|
* const current = aws.getRegion({});
|
|
21
21
|
* const example = current.then(current => aws.ec2.getManagedPrefixList({
|
|
22
|
-
* name: `com.amazonaws.${current.
|
|
22
|
+
* name: `com.amazonaws.${current.region}.dynamodb`,
|
|
23
23
|
* }));
|
|
24
24
|
* ```
|
|
25
25
|
*
|
|
@@ -63,7 +63,7 @@ exports.getManagedPrefixList = getManagedPrefixList;
|
|
|
63
63
|
*
|
|
64
64
|
* const current = aws.getRegion({});
|
|
65
65
|
* const example = current.then(current => aws.ec2.getManagedPrefixList({
|
|
66
|
-
* name: `com.amazonaws.${current.
|
|
66
|
+
* name: `com.amazonaws.${current.region}.dynamodb`,
|
|
67
67
|
* }));
|
|
68
68
|
* ```
|
|
69
69
|
*
|
|
@@ -63,7 +63,7 @@ import * as enums from "../types/enums";
|
|
|
63
63
|
*
|
|
64
64
|
* const current = aws.getRegion({});
|
|
65
65
|
* const s3 = current.then(current => aws.ec2.getPrefixList({
|
|
66
|
-
* name: `com.amazonaws.${current.
|
|
66
|
+
* name: `com.amazonaws.${current.region}.s3`,
|
|
67
67
|
* }));
|
|
68
68
|
* const s3GatewayEgress = new aws.ec2.SecurityGroupRule("s3_gateway_egress", {
|
|
69
69
|
* description: "S3 Gateway Egress",
|
package/ec2/securityGroupRule.js
CHANGED
|
@@ -68,7 +68,7 @@ const utilities = require("../utilities");
|
|
|
68
68
|
*
|
|
69
69
|
* const current = aws.getRegion({});
|
|
70
70
|
* const s3 = current.then(current => aws.ec2.getPrefixList({
|
|
71
|
-
* name: `com.amazonaws.${current.
|
|
71
|
+
* name: `com.amazonaws.${current.region}.s3`,
|
|
72
72
|
* }));
|
|
73
73
|
* const s3GatewayEgress = new aws.ec2.SecurityGroupRule("s3_gateway_egress", {
|
|
74
74
|
* description: "S3 Gateway Egress",
|
package/ec2/vpc.d.ts
CHANGED
|
@@ -36,12 +36,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
36
36
|
*
|
|
37
37
|
* const current = aws.getRegion({});
|
|
38
38
|
* const test = new aws.ec2.VpcIpam("test", {operatingRegions: [{
|
|
39
|
-
* regionName: current.then(current => current.
|
|
39
|
+
* regionName: current.then(current => current.region),
|
|
40
40
|
* }]});
|
|
41
41
|
* const testVpcIpamPool = new aws.ec2.VpcIpamPool("test", {
|
|
42
42
|
* addressFamily: "ipv4",
|
|
43
43
|
* ipamScopeId: test.privateDefaultScopeId,
|
|
44
|
-
* locale: current.then(current => current.
|
|
44
|
+
* locale: current.then(current => current.region),
|
|
45
45
|
* });
|
|
46
46
|
* const testVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("test", {
|
|
47
47
|
* ipamPoolId: testVpcIpamPool.id,
|
package/ec2/vpc.js
CHANGED
|
@@ -42,12 +42,12 @@ const utilities = require("../utilities");
|
|
|
42
42
|
*
|
|
43
43
|
* const current = aws.getRegion({});
|
|
44
44
|
* const test = new aws.ec2.VpcIpam("test", {operatingRegions: [{
|
|
45
|
-
* regionName: current.then(current => current.
|
|
45
|
+
* regionName: current.then(current => current.region),
|
|
46
46
|
* }]});
|
|
47
47
|
* const testVpcIpamPool = new aws.ec2.VpcIpamPool("test", {
|
|
48
48
|
* addressFamily: "ipv4",
|
|
49
49
|
* ipamScopeId: test.privateDefaultScopeId,
|
|
50
|
-
* locale: current.then(current => current.
|
|
50
|
+
* locale: current.then(current => current.region),
|
|
51
51
|
* });
|
|
52
52
|
* const testVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("test", {
|
|
53
53
|
* ipamPoolId: testVpcIpamPool.id,
|
package/ec2/vpcIpam.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import * as outputs from "../types/output";
|
|
|
16
16
|
* const main = new aws.ec2.VpcIpam("main", {
|
|
17
17
|
* description: "My IPAM",
|
|
18
18
|
* operatingRegions: [{
|
|
19
|
-
* regionName: current.then(current => current.
|
|
19
|
+
* regionName: current.then(current => current.region),
|
|
20
20
|
* }],
|
|
21
21
|
* tags: {
|
|
22
22
|
* Test: "Main",
|
package/ec2/vpcIpam.js
CHANGED
|
@@ -20,7 +20,7 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* const main = new aws.ec2.VpcIpam("main", {
|
|
21
21
|
* description: "My IPAM",
|
|
22
22
|
* operatingRegions: [{
|
|
23
|
-
* regionName: current.then(current => current.
|
|
23
|
+
* regionName: current.then(current => current.region),
|
|
24
24
|
* }],
|
|
25
25
|
* tags: {
|
|
26
26
|
* Test: "Main",
|
package/ec2/vpcIpamPool.d.ts
CHANGED
|
@@ -12,12 +12,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* const current = aws.getRegion({});
|
|
14
14
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
15
|
-
* regionName: current.then(current => current.
|
|
15
|
+
* regionName: current.then(current => current.region),
|
|
16
16
|
* }]});
|
|
17
17
|
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("example", {
|
|
18
18
|
* addressFamily: "ipv4",
|
|
19
19
|
* ipamScopeId: example.privateDefaultScopeId,
|
|
20
|
-
* locale: current.then(current => current.
|
|
20
|
+
* locale: current.then(current => current.region),
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
@@ -29,7 +29,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
29
|
*
|
|
30
30
|
* const current = aws.getRegion({});
|
|
31
31
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
32
|
-
* regionName: current.then(current => current.
|
|
32
|
+
* regionName: current.then(current => current.region),
|
|
33
33
|
* }]});
|
|
34
34
|
* const parent = new aws.ec2.VpcIpamPool("parent", {
|
|
35
35
|
* addressFamily: "ipv4",
|
|
@@ -42,7 +42,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
42
42
|
* const child = new aws.ec2.VpcIpamPool("child", {
|
|
43
43
|
* addressFamily: "ipv4",
|
|
44
44
|
* ipamScopeId: example.privateDefaultScopeId,
|
|
45
|
-
* locale: current.then(current => current.
|
|
45
|
+
* locale: current.then(current => current.region),
|
|
46
46
|
* sourceIpamPoolId: parent.id,
|
|
47
47
|
* });
|
|
48
48
|
* const childTest = new aws.ec2.VpcIpamPoolCidr("child_test", {
|
package/ec2/vpcIpamPool.js
CHANGED
|
@@ -18,12 +18,12 @@ const utilities = require("../utilities");
|
|
|
18
18
|
*
|
|
19
19
|
* const current = aws.getRegion({});
|
|
20
20
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
21
|
-
* regionName: current.then(current => current.
|
|
21
|
+
* regionName: current.then(current => current.region),
|
|
22
22
|
* }]});
|
|
23
23
|
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("example", {
|
|
24
24
|
* addressFamily: "ipv4",
|
|
25
25
|
* ipamScopeId: example.privateDefaultScopeId,
|
|
26
|
-
* locale: current.then(current => current.
|
|
26
|
+
* locale: current.then(current => current.region),
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
@@ -35,7 +35,7 @@ const utilities = require("../utilities");
|
|
|
35
35
|
*
|
|
36
36
|
* const current = aws.getRegion({});
|
|
37
37
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
38
|
-
* regionName: current.then(current => current.
|
|
38
|
+
* regionName: current.then(current => current.region),
|
|
39
39
|
* }]});
|
|
40
40
|
* const parent = new aws.ec2.VpcIpamPool("parent", {
|
|
41
41
|
* addressFamily: "ipv4",
|
|
@@ -48,7 +48,7 @@ const utilities = require("../utilities");
|
|
|
48
48
|
* const child = new aws.ec2.VpcIpamPool("child", {
|
|
49
49
|
* addressFamily: "ipv4",
|
|
50
50
|
* ipamScopeId: example.privateDefaultScopeId,
|
|
51
|
-
* locale: current.then(current => current.
|
|
51
|
+
* locale: current.then(current => current.region),
|
|
52
52
|
* sourceIpamPoolId: parent.id,
|
|
53
53
|
* });
|
|
54
54
|
* const childTest = new aws.ec2.VpcIpamPoolCidr("child_test", {
|
package/ec2/vpcIpamPoolCidr.d.ts
CHANGED
|
@@ -19,12 +19,12 @@ import * as outputs from "../types/output";
|
|
|
19
19
|
*
|
|
20
20
|
* const current = aws.getRegion({});
|
|
21
21
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
22
|
-
* regionName: current.then(current => current.
|
|
22
|
+
* regionName: current.then(current => current.region),
|
|
23
23
|
* }]});
|
|
24
24
|
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("example", {
|
|
25
25
|
* addressFamily: "ipv4",
|
|
26
26
|
* ipamScopeId: example.privateDefaultScopeId,
|
|
27
|
-
* locale: current.then(current => current.
|
|
27
|
+
* locale: current.then(current => current.region),
|
|
28
28
|
* });
|
|
29
29
|
* const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("example", {
|
|
30
30
|
* ipamPoolId: exampleVpcIpamPool.id,
|
|
@@ -40,7 +40,7 @@ import * as outputs from "../types/output";
|
|
|
40
40
|
*
|
|
41
41
|
* const current = aws.getRegion({});
|
|
42
42
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
43
|
-
* regionName: current.then(current => current.
|
|
43
|
+
* regionName: current.then(current => current.region),
|
|
44
44
|
* }]});
|
|
45
45
|
* const ipv6TestPublic = new aws.ec2.VpcIpamPool("ipv6_test_public", {
|
|
46
46
|
* addressFamily: "ipv6",
|
package/ec2/vpcIpamPoolCidr.js
CHANGED
|
@@ -23,12 +23,12 @@ const utilities = require("../utilities");
|
|
|
23
23
|
*
|
|
24
24
|
* const current = aws.getRegion({});
|
|
25
25
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
26
|
-
* regionName: current.then(current => current.
|
|
26
|
+
* regionName: current.then(current => current.region),
|
|
27
27
|
* }]});
|
|
28
28
|
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("example", {
|
|
29
29
|
* addressFamily: "ipv4",
|
|
30
30
|
* ipamScopeId: example.privateDefaultScopeId,
|
|
31
|
-
* locale: current.then(current => current.
|
|
31
|
+
* locale: current.then(current => current.region),
|
|
32
32
|
* });
|
|
33
33
|
* const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("example", {
|
|
34
34
|
* ipamPoolId: exampleVpcIpamPool.id,
|
|
@@ -44,7 +44,7 @@ const utilities = require("../utilities");
|
|
|
44
44
|
*
|
|
45
45
|
* const current = aws.getRegion({});
|
|
46
46
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
47
|
-
* regionName: current.then(current => current.
|
|
47
|
+
* regionName: current.then(current => current.region),
|
|
48
48
|
* }]});
|
|
49
49
|
* const ipv6TestPublic = new aws.ec2.VpcIpamPool("ipv6_test_public", {
|
|
50
50
|
* addressFamily: "ipv6",
|
|
@@ -12,12 +12,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* const current = aws.getRegion({});
|
|
14
14
|
* const exampleVpcIpam = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
15
|
-
* regionName: current.then(current => current.
|
|
15
|
+
* regionName: current.then(current => current.region),
|
|
16
16
|
* }]});
|
|
17
17
|
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("example", {
|
|
18
18
|
* addressFamily: "ipv4",
|
|
19
19
|
* ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
|
|
20
|
-
* locale: current.then(current => current.
|
|
20
|
+
* locale: current.then(current => current.region),
|
|
21
21
|
* });
|
|
22
22
|
* const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("example", {
|
|
23
23
|
* ipamPoolId: exampleVpcIpamPool.id,
|
|
@@ -39,12 +39,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
39
39
|
*
|
|
40
40
|
* const current = aws.getRegion({});
|
|
41
41
|
* const exampleVpcIpam = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
42
|
-
* regionName: current.then(current => current.
|
|
42
|
+
* regionName: current.then(current => current.region),
|
|
43
43
|
* }]});
|
|
44
44
|
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("example", {
|
|
45
45
|
* addressFamily: "ipv4",
|
|
46
46
|
* ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
|
|
47
|
-
* locale: current.then(current => current.
|
|
47
|
+
* locale: current.then(current => current.region),
|
|
48
48
|
* });
|
|
49
49
|
* const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("example", {
|
|
50
50
|
* ipamPoolId: exampleVpcIpamPool.id,
|
|
@@ -18,12 +18,12 @@ const utilities = require("../utilities");
|
|
|
18
18
|
*
|
|
19
19
|
* const current = aws.getRegion({});
|
|
20
20
|
* const exampleVpcIpam = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
21
|
-
* regionName: current.then(current => current.
|
|
21
|
+
* regionName: current.then(current => current.region),
|
|
22
22
|
* }]});
|
|
23
23
|
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("example", {
|
|
24
24
|
* addressFamily: "ipv4",
|
|
25
25
|
* ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
|
|
26
|
-
* locale: current.then(current => current.
|
|
26
|
+
* locale: current.then(current => current.region),
|
|
27
27
|
* });
|
|
28
28
|
* const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("example", {
|
|
29
29
|
* ipamPoolId: exampleVpcIpamPool.id,
|
|
@@ -45,12 +45,12 @@ const utilities = require("../utilities");
|
|
|
45
45
|
*
|
|
46
46
|
* const current = aws.getRegion({});
|
|
47
47
|
* const exampleVpcIpam = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
48
|
-
* regionName: current.then(current => current.
|
|
48
|
+
* regionName: current.then(current => current.region),
|
|
49
49
|
* }]});
|
|
50
50
|
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("example", {
|
|
51
51
|
* addressFamily: "ipv4",
|
|
52
52
|
* ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
|
|
53
|
-
* locale: current.then(current => current.
|
|
53
|
+
* locale: current.then(current => current.region),
|
|
54
54
|
* });
|
|
55
55
|
* const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("example", {
|
|
56
56
|
* ipamPoolId: exampleVpcIpamPool.id,
|
|
@@ -12,12 +12,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* const current = aws.getRegion({});
|
|
14
14
|
* const exampleVpcIpam = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
15
|
-
* regionName: current.then(current => current.
|
|
15
|
+
* regionName: current.then(current => current.region),
|
|
16
16
|
* }]});
|
|
17
17
|
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("example", {
|
|
18
18
|
* addressFamily: "ipv4",
|
|
19
19
|
* ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
|
|
20
|
-
* locale: current.then(current => current.
|
|
20
|
+
* locale: current.then(current => current.region),
|
|
21
21
|
* });
|
|
22
22
|
* const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("example", {
|
|
23
23
|
* ipamPoolId: exampleVpcIpamPool.id,
|
|
@@ -18,12 +18,12 @@ const utilities = require("../utilities");
|
|
|
18
18
|
*
|
|
19
19
|
* const current = aws.getRegion({});
|
|
20
20
|
* const exampleVpcIpam = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
21
|
-
* regionName: current.then(current => current.
|
|
21
|
+
* regionName: current.then(current => current.region),
|
|
22
22
|
* }]});
|
|
23
23
|
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("example", {
|
|
24
24
|
* addressFamily: "ipv4",
|
|
25
25
|
* ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
|
|
26
|
-
* locale: current.then(current => current.
|
|
26
|
+
* locale: current.then(current => current.region),
|
|
27
27
|
* });
|
|
28
28
|
* const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("example", {
|
|
29
29
|
* ipamPoolId: exampleVpcIpamPool.id,
|
|
@@ -16,7 +16,7 @@ import * as outputs from "../types/output";
|
|
|
16
16
|
* const main = new aws.ec2.VpcIpamResourceDiscovery("main", {
|
|
17
17
|
* description: "My IPAM Resource Discovery",
|
|
18
18
|
* operatingRegions: [{
|
|
19
|
-
* regionName: current.then(current => current.
|
|
19
|
+
* regionName: current.then(current => current.region),
|
|
20
20
|
* }],
|
|
21
21
|
* tags: {
|
|
22
22
|
* Test: "Main",
|
|
@@ -20,7 +20,7 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* const main = new aws.ec2.VpcIpamResourceDiscovery("main", {
|
|
21
21
|
* description: "My IPAM Resource Discovery",
|
|
22
22
|
* operatingRegions: [{
|
|
23
|
-
* regionName: current.then(current => current.
|
|
23
|
+
* regionName: current.then(current => current.region),
|
|
24
24
|
* }],
|
|
25
25
|
* tags: {
|
|
26
26
|
* Test: "Main",
|
package/ec2/vpcIpamScope.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* const current = aws.getRegion({});
|
|
14
14
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
15
|
-
* regionName: current.then(current => current.
|
|
15
|
+
* regionName: current.then(current => current.region),
|
|
16
16
|
* }]});
|
|
17
17
|
* const exampleVpcIpamScope = new aws.ec2.VpcIpamScope("example", {
|
|
18
18
|
* ipamId: example.id,
|
package/ec2/vpcIpamScope.js
CHANGED
|
@@ -18,7 +18,7 @@ const utilities = require("../utilities");
|
|
|
18
18
|
*
|
|
19
19
|
* const current = aws.getRegion({});
|
|
20
20
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
21
|
-
* regionName: current.then(current => current.
|
|
21
|
+
* regionName: current.then(current => current.region),
|
|
22
22
|
* }]});
|
|
23
23
|
* const exampleVpcIpamScope = new aws.ec2.VpcIpamScope("example", {
|
|
24
24
|
* ipamId: example.id,
|
package/ecr/registryPolicy.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import * as inputs from "../types/input";
|
|
|
23
23
|
* AWS: Promise.all([currentGetPartition, current]).then(([currentGetPartition, current]) => `arn:${currentGetPartition.partition}:iam::${current.accountId}:root`),
|
|
24
24
|
* },
|
|
25
25
|
* Action: ["ecr:ReplicateImage"],
|
|
26
|
-
* Resource: [Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => `arn:${currentGetPartition.partition}:ecr:${currentGetRegion.
|
|
26
|
+
* Resource: [Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => `arn:${currentGetPartition.partition}:ecr:${currentGetRegion.region}:${current.accountId}:repository/*`)],
|
|
27
27
|
* }],
|
|
28
28
|
* })});
|
|
29
29
|
* ```
|