@pulumi/aws 7.0.0-alpha.2 → 7.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/accessanalyzer/analyzer.d.ts +54 -7
- package/accessanalyzer/analyzer.js +48 -1
- package/accessanalyzer/analyzer.js.map +1 -1
- package/amplify/app.d.ts +26 -0
- package/amplify/app.js +16 -0
- package/amplify/app.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/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 +1 -1
- package/dynamodb/table.js +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/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/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/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/route53/getTrafficPolicyDocument.d.ts +4 -4
- package/route53/getTrafficPolicyDocument.js +4 -4
- 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/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/types/input.d.ts +137 -20
- package/types/input.js.map +1 -1
- package/types/output.d.ts +137 -19
- package/types/output.js.map +1 -1
|
@@ -23,7 +23,7 @@ const utilities = require("../utilities");
|
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
25
|
*
|
|
26
|
-
*
|
|
26
|
+
* ### Optional Arguments
|
|
27
27
|
*
|
|
28
28
|
* ```typescript
|
|
29
29
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -41,6 +41,70 @@ const utilities = require("../utilities");
|
|
|
41
41
|
* });
|
|
42
42
|
* ```
|
|
43
43
|
*
|
|
44
|
+
* ### CMK Encryption
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as aws from "@pulumi/aws";
|
|
49
|
+
*
|
|
50
|
+
* const current = aws.getCallerIdentity({});
|
|
51
|
+
* const currentGetPartition = aws.getPartition({});
|
|
52
|
+
* const example = new aws.cloudwatch.EventBus("example", {name: "example"});
|
|
53
|
+
* const exampleKey = new aws.kms.Key("example", {
|
|
54
|
+
* deletionWindowInDays: 7,
|
|
55
|
+
* policy: pulumi.jsonStringify({
|
|
56
|
+
* Version: "2012-10-17",
|
|
57
|
+
* Id: "key-policy-example",
|
|
58
|
+
* Statement: [
|
|
59
|
+
* {
|
|
60
|
+
* Sid: "Enable IAM User Permissions",
|
|
61
|
+
* Effect: "Allow",
|
|
62
|
+
* Principal: {
|
|
63
|
+
* AWS: Promise.all([currentGetPartition, current]).then(([currentGetPartition, current]) => `arn:${currentGetPartition.partition}:iam::${current.accountId}:root`),
|
|
64
|
+
* },
|
|
65
|
+
* Action: "kms:*",
|
|
66
|
+
* Resource: "*",
|
|
67
|
+
* },
|
|
68
|
+
* {
|
|
69
|
+
* Sid: "Allow describing of the key",
|
|
70
|
+
* Effect: "Allow",
|
|
71
|
+
* Principal: {
|
|
72
|
+
* Service: "events.amazonaws.com",
|
|
73
|
+
* },
|
|
74
|
+
* Action: ["kms:DescribeKey"],
|
|
75
|
+
* Resource: "*",
|
|
76
|
+
* },
|
|
77
|
+
* {
|
|
78
|
+
* Sid: "Allow use of the key",
|
|
79
|
+
* Effect: "Allow",
|
|
80
|
+
* Principal: {
|
|
81
|
+
* Service: "events.amazonaws.com",
|
|
82
|
+
* },
|
|
83
|
+
* Action: [
|
|
84
|
+
* "kms:GenerateDataKey",
|
|
85
|
+
* "kms:Decrypt",
|
|
86
|
+
* "kms:ReEncrypt*",
|
|
87
|
+
* ],
|
|
88
|
+
* Resource: "*",
|
|
89
|
+
* Condition: {
|
|
90
|
+
* StringEquals: {
|
|
91
|
+
* "kms:EncryptionContext:aws:events:event-bus:arn": example.arn,
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
95
|
+
* ],
|
|
96
|
+
* }),
|
|
97
|
+
* tags: {
|
|
98
|
+
* EventBridgeApiDestinations: "true",
|
|
99
|
+
* },
|
|
100
|
+
* });
|
|
101
|
+
* const exampleEventArchive = new aws.cloudwatch.EventArchive("example", {
|
|
102
|
+
* name: "example",
|
|
103
|
+
* eventSourceArn: example.arn,
|
|
104
|
+
* kmsKeyIdentifier: exampleKey.id,
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
44
108
|
* ## Import
|
|
45
109
|
*
|
|
46
110
|
* Using `pulumi import`, import an EventBridge archive using the `name`. For example:
|
|
@@ -81,6 +145,7 @@ class EventArchive extends pulumi.CustomResource {
|
|
|
81
145
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
82
146
|
resourceInputs["eventPattern"] = state ? state.eventPattern : undefined;
|
|
83
147
|
resourceInputs["eventSourceArn"] = state ? state.eventSourceArn : undefined;
|
|
148
|
+
resourceInputs["kmsKeyIdentifier"] = state ? state.kmsKeyIdentifier : undefined;
|
|
84
149
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
85
150
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
86
151
|
resourceInputs["retentionDays"] = state ? state.retentionDays : undefined;
|
|
@@ -93,6 +158,7 @@ class EventArchive extends pulumi.CustomResource {
|
|
|
93
158
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
94
159
|
resourceInputs["eventPattern"] = args ? args.eventPattern : undefined;
|
|
95
160
|
resourceInputs["eventSourceArn"] = args ? args.eventSourceArn : undefined;
|
|
161
|
+
resourceInputs["kmsKeyIdentifier"] = args ? args.kmsKeyIdentifier : undefined;
|
|
96
162
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
97
163
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
98
164
|
resourceInputs["retentionDays"] = args ? args.retentionDays : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventArchive.js","sourceRoot":"","sources":["../../cloudwatch/eventArchive.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"eventArchive.js","sourceRoot":"","sources":["../../cloudwatch/eventArchive.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2GG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,I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AAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAlGL,oCAmGC;AArFG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
package/cloudwatch/logGroup.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare class LogGroup extends pulumi.CustomResource {
|
|
|
52
52
|
*/
|
|
53
53
|
readonly kmsKeyId: pulumi.Output<string | undefined>;
|
|
54
54
|
/**
|
|
55
|
-
* Specified the log class of the log group. Possible values are: `STANDARD` or `
|
|
55
|
+
* Specified the log class of the log group. Possible values are: `STANDARD`, `INFREQUENT_ACCESS`, or `DELIVERY`.
|
|
56
56
|
*/
|
|
57
57
|
readonly logGroupClass: pulumi.Output<string>;
|
|
58
58
|
/**
|
|
@@ -70,7 +70,7 @@ export declare class LogGroup extends pulumi.CustomResource {
|
|
|
70
70
|
/**
|
|
71
71
|
* Specifies the number of days
|
|
72
72
|
* you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
|
|
73
|
-
* If you select 0, the events in the log group are always retained and never expire.
|
|
73
|
+
* If you select 0, the events in the log group are always retained and never expire. If `logGroupClass` is set to `DELIVERY`, this argument is ignored and `retentionInDays` is forcibly set to 2.
|
|
74
74
|
*/
|
|
75
75
|
readonly retentionInDays: pulumi.Output<number | undefined>;
|
|
76
76
|
/**
|
|
@@ -113,7 +113,7 @@ export interface LogGroupState {
|
|
|
113
113
|
*/
|
|
114
114
|
kmsKeyId?: pulumi.Input<string>;
|
|
115
115
|
/**
|
|
116
|
-
* Specified the log class of the log group. Possible values are: `STANDARD` or `
|
|
116
|
+
* Specified the log class of the log group. Possible values are: `STANDARD`, `INFREQUENT_ACCESS`, or `DELIVERY`.
|
|
117
117
|
*/
|
|
118
118
|
logGroupClass?: pulumi.Input<string>;
|
|
119
119
|
/**
|
|
@@ -131,7 +131,7 @@ export interface LogGroupState {
|
|
|
131
131
|
/**
|
|
132
132
|
* Specifies the number of days
|
|
133
133
|
* you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
|
|
134
|
-
* If you select 0, the events in the log group are always retained and never expire.
|
|
134
|
+
* If you select 0, the events in the log group are always retained and never expire. If `logGroupClass` is set to `DELIVERY`, this argument is ignored and `retentionInDays` is forcibly set to 2.
|
|
135
135
|
*/
|
|
136
136
|
retentionInDays?: pulumi.Input<number>;
|
|
137
137
|
/**
|
|
@@ -162,7 +162,7 @@ export interface LogGroupArgs {
|
|
|
162
162
|
*/
|
|
163
163
|
kmsKeyId?: pulumi.Input<string>;
|
|
164
164
|
/**
|
|
165
|
-
* Specified the log class of the log group. Possible values are: `STANDARD` or `
|
|
165
|
+
* Specified the log class of the log group. Possible values are: `STANDARD`, `INFREQUENT_ACCESS`, or `DELIVERY`.
|
|
166
166
|
*/
|
|
167
167
|
logGroupClass?: pulumi.Input<string>;
|
|
168
168
|
/**
|
|
@@ -180,7 +180,7 @@ export interface LogGroupArgs {
|
|
|
180
180
|
/**
|
|
181
181
|
* Specifies the number of days
|
|
182
182
|
* you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
|
|
183
|
-
* If you select 0, the events in the log group are always retained and never expire.
|
|
183
|
+
* If you select 0, the events in the log group are always retained and never expire. If `logGroupClass` is set to `DELIVERY`, this argument is ignored and `retentionInDays` is forcibly set to 2.
|
|
184
184
|
*/
|
|
185
185
|
retentionInDays?: pulumi.Input<number>;
|
|
186
186
|
/**
|
|
@@ -131,7 +131,7 @@ export interface DomainPermissionsArgs {
|
|
|
131
131
|
/**
|
|
132
132
|
* A JSON policy string to be set as the access control resource policy on the provided domain.
|
|
133
133
|
*/
|
|
134
|
-
policyDocument
|
|
134
|
+
policyDocument?: pulumi.Input<string>;
|
|
135
135
|
/**
|
|
136
136
|
* The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
|
|
137
137
|
*/
|
|
@@ -84,9 +84,6 @@ class DomainPermissions extends pulumi.CustomResource {
|
|
|
84
84
|
if ((!args || args.domain === undefined) && !opts.urn) {
|
|
85
85
|
throw new Error("Missing required property 'domain'");
|
|
86
86
|
}
|
|
87
|
-
if ((!args || args.policyDocument === undefined) && !opts.urn) {
|
|
88
|
-
throw new Error("Missing required property 'policyDocument'");
|
|
89
|
-
}
|
|
90
87
|
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
91
88
|
resourceInputs["domainOwner"] = args ? args.domainOwner : undefined;
|
|
92
89
|
resourceInputs["policyDocument"] = args ? args.policyDocument : undefined;
|
|
@@ -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,OA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,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
|
@@ -138,7 +138,7 @@ import * as outputs from "../types/output";
|
|
|
138
138
|
* const exampleTag = new aws.dynamodb.Tag("example", {
|
|
139
139
|
* resourceArn: pulumi.all([example.arn, current, alternate]).apply(([arn, current, alternate]) => std.replaceOutput({
|
|
140
140
|
* text: arn,
|
|
141
|
-
* search: current.
|
|
141
|
+
* search: current.region,
|
|
142
142
|
* replace: alternate.name,
|
|
143
143
|
* })).apply(invoke => invoke.result),
|
|
144
144
|
* key: "Architect",
|
package/dynamodb/table.js
CHANGED
|
@@ -142,7 +142,7 @@ const utilities = require("../utilities");
|
|
|
142
142
|
* const exampleTag = new aws.dynamodb.Tag("example", {
|
|
143
143
|
* resourceArn: pulumi.all([example.arn, current, alternate]).apply(([arn, current, alternate]) => std.replaceOutput({
|
|
144
144
|
* text: arn,
|
|
145
|
-
* search: current.
|
|
145
|
+
* search: current.region,
|
|
146
146
|
* replace: alternate.name,
|
|
147
147
|
* })).apply(invoke => invoke.result),
|
|
148
148
|
* key: "Architect",
|
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,
|