aws-data-landing-zone 0.0.36 → 0.0.38
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/.jsii +142 -162
- package/API.md +62 -642
- package/CONTRIBUTING.MD +58 -0
- package/README.md +244 -1
- package/docs/.env.development +3 -0
- package/docs/README.md +2 -0
- package/docs/astro.config.ts +92 -74
- package/docs/cloudflare_build.sh +11 -0
- package/docs/package-lock.json +17 -0
- package/docs/package.json +5 -1
- package/docs/src/components/Footer.astro +2 -2
- package/docs/src/content/docs/components/account-management/introduction.mdx +0 -80
- package/docs/src/content/docs/components/build-system/ci-integration.mdx +336 -0
- package/docs/src/content/docs/components/build-system/deployment-order.mdx +608 -0
- package/docs/src/content/docs/components/build-system/overview.mdx +37 -0
- package/docs/src/content/docs/components/identity/introduction.mdx +0 -80
- package/docs/src/content/docs/introduction.mdx +3 -1
- package/docs/src/content/docs/reference/api.md +21123 -0
- package/docs/src/styles/custom.css +3 -5
- package/lib/constructs/account-chatbots/index.js +1 -1
- package/lib/constructs/dlz-budget/index.js +1 -1
- package/lib/constructs/dlz-control-tower-control/control-tower-control.js +1 -1
- package/lib/constructs/dlz-lake-formation/dlz-lake-formation.js +1 -1
- package/lib/constructs/dlz-ssm-reader/dlz-ssm-reader-stack-cache.js +1 -1
- package/lib/constructs/dlz-ssm-reader/dlz-ssm-reader.js +1 -1
- package/lib/constructs/dlz-stack/index.d.ts +13 -0
- package/lib/constructs/dlz-stack/index.js +17 -2
- package/lib/constructs/dlz-vpc/dlz-account-networks.js +1 -1
- package/lib/constructs/dlz-vpc/dlz-vpc.js +1 -1
- package/lib/constructs/dlz-vpc/network-address.js +1 -1
- package/lib/constructs/iam-identity-center/iam-identity-center-group.js +1 -1
- package/lib/constructs/iam-identity-center/iam-identity-center.js +1 -1
- package/lib/constructs/iam-identity-center/identity-store-user.js +1 -1
- package/lib/constructs/organization-policies/service-control-policy.js +1 -1
- package/lib/constructs/organization-policies/tag-policy.js +1 -1
- package/lib/data-landing-zone-client.js +1 -1
- package/lib/data-landing-zone-types.d.ts +18 -4
- package/lib/data-landing-zone-types.js +1 -1
- package/lib/data-landing-zone.js +61 -63
- package/lib/defaults.js +1 -1
- package/lib/lib/report/index.js +1 -1
- package/lib/stacks/organization/management-stack.js +1 -1
- package/lib/stacks/organization/security/audit/global-stack.js +1 -1
- package/lib/stacks/organization/security/audit/regional-stack.js +1 -1
- package/lib/stacks/organization/security/log/global-stack.js +1 -1
- package/lib/stacks/organization/security/log/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/base/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/base/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/data-services-phase-1-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/data-services-phase-1-stack/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-1-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-2-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-2-stack/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-3-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-3-stack/regional-stack.js +1 -1
- package/package.json +1 -1
- package/post-docgen.sh +10 -0
package/API.md
CHANGED
|
@@ -194,48 +194,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
194
194
|
|
|
195
195
|
Create a CloudFormation Export for a string value.
|
|
196
196
|
|
|
197
|
-
Returns a string representing the corresponding
|
|
198
|
-
expression for this Export. You can control the name for the export by
|
|
199
|
-
passing the `name` option.
|
|
197
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
200
198
|
|
|
201
|
-
If you don
|
|
202
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
203
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
204
|
-
if you used the attribute in another Stack.
|
|
205
|
-
|
|
206
|
-
One of the uses for this method is to *remove* the relationship between
|
|
207
|
-
two Stacks established by automatic cross-stack references. It will
|
|
208
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
209
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
210
|
-
the resource and the manual export.
|
|
211
|
-
|
|
212
|
-
## Example
|
|
213
|
-
|
|
214
|
-
Here is how the process works. Let's say there are two stacks,
|
|
215
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
216
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
217
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
218
|
-
|
|
219
|
-
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
220
|
-
deleted, `consumerStack` might still be using it.
|
|
221
|
-
|
|
222
|
-
Instead, the process takes two deployments:
|
|
199
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
223
200
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
- Make sure `consumerStack` no longer references `bucket.bucketName` (maybe the consumer
|
|
227
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
228
|
-
remove the Lambda Function altogether).
|
|
229
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
230
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
231
|
-
between the two stacks is being broken.
|
|
232
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
233
|
-
|
|
234
|
-
### Deployment 2: remove the bucket resource
|
|
235
|
-
|
|
236
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
237
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
238
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
201
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
239
202
|
|
|
240
203
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.AuditGlobalStack.exportValue.parameter.exportedValue"></a>
|
|
241
204
|
|
|
@@ -1165,48 +1128,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
1165
1128
|
|
|
1166
1129
|
Create a CloudFormation Export for a string value.
|
|
1167
1130
|
|
|
1168
|
-
Returns a string representing the corresponding
|
|
1169
|
-
expression for this Export. You can control the name for the export by
|
|
1170
|
-
passing the `name` option.
|
|
1171
|
-
|
|
1172
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
1173
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
1174
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
1175
|
-
if you used the attribute in another Stack.
|
|
1176
|
-
|
|
1177
|
-
One of the uses for this method is to *remove* the relationship between
|
|
1178
|
-
two Stacks established by automatic cross-stack references. It will
|
|
1179
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
1180
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
1181
|
-
the resource and the manual export.
|
|
1182
|
-
|
|
1183
|
-
## Example
|
|
1184
|
-
|
|
1185
|
-
Here is how the process works. Let's say there are two stacks,
|
|
1186
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
1187
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
1188
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
1189
|
-
|
|
1190
|
-
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
1191
|
-
deleted, `consumerStack` might still be using it.
|
|
1192
|
-
|
|
1193
|
-
Instead, the process takes two deployments:
|
|
1131
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
1194
1132
|
|
|
1195
|
-
|
|
1133
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
1196
1134
|
|
|
1197
|
-
|
|
1198
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
1199
|
-
remove the Lambda Function altogether).
|
|
1200
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
1201
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
1202
|
-
between the two stacks is being broken.
|
|
1203
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
1204
|
-
|
|
1205
|
-
### Deployment 2: remove the bucket resource
|
|
1206
|
-
|
|
1207
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
1208
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
1209
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
1135
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
1210
1136
|
|
|
1211
1137
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.AuditRegionalStack.exportValue.parameter.exportedValue"></a>
|
|
1212
1138
|
|
|
@@ -2130,48 +2056,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
2130
2056
|
|
|
2131
2057
|
Create a CloudFormation Export for a string value.
|
|
2132
2058
|
|
|
2133
|
-
Returns a string representing the corresponding
|
|
2134
|
-
expression for this Export. You can control the name for the export by
|
|
2135
|
-
passing the `name` option.
|
|
2136
|
-
|
|
2137
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
2138
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
2139
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
2140
|
-
if you used the attribute in another Stack.
|
|
2141
|
-
|
|
2142
|
-
One of the uses for this method is to *remove* the relationship between
|
|
2143
|
-
two Stacks established by automatic cross-stack references. It will
|
|
2144
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
2145
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
2146
|
-
the resource and the manual export.
|
|
2147
|
-
|
|
2148
|
-
## Example
|
|
2149
|
-
|
|
2150
|
-
Here is how the process works. Let's say there are two stacks,
|
|
2151
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
2152
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
2153
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
2154
|
-
|
|
2155
|
-
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
2156
|
-
deleted, `consumerStack` might still be using it.
|
|
2157
|
-
|
|
2158
|
-
Instead, the process takes two deployments:
|
|
2159
|
-
|
|
2160
|
-
### Deployment 1: break the relationship
|
|
2059
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
2161
2060
|
|
|
2162
|
-
|
|
2163
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
2164
|
-
remove the Lambda Function altogether).
|
|
2165
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
2166
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
2167
|
-
between the two stacks is being broken.
|
|
2168
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
2061
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
2169
2062
|
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
2173
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
2174
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
2063
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
2175
2064
|
|
|
2176
2065
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.DlzStack.exportValue.parameter.exportedValue"></a>
|
|
2177
2066
|
|
|
@@ -3317,48 +3206,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
3317
3206
|
|
|
3318
3207
|
Create a CloudFormation Export for a string value.
|
|
3319
3208
|
|
|
3320
|
-
Returns a string representing the corresponding
|
|
3321
|
-
expression for this Export. You can control the name for the export by
|
|
3322
|
-
passing the `name` option.
|
|
3323
|
-
|
|
3324
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
3325
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
3326
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
3327
|
-
if you used the attribute in another Stack.
|
|
3328
|
-
|
|
3329
|
-
One of the uses for this method is to *remove* the relationship between
|
|
3330
|
-
two Stacks established by automatic cross-stack references. It will
|
|
3331
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
3332
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
3333
|
-
the resource and the manual export.
|
|
3334
|
-
|
|
3335
|
-
## Example
|
|
3209
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
3336
3210
|
|
|
3337
|
-
|
|
3338
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
3339
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
3340
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
3211
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
3341
3212
|
|
|
3342
|
-
|
|
3343
|
-
deleted, `consumerStack` might still be using it.
|
|
3344
|
-
|
|
3345
|
-
Instead, the process takes two deployments:
|
|
3346
|
-
|
|
3347
|
-
### Deployment 1: break the relationship
|
|
3348
|
-
|
|
3349
|
-
- Make sure `consumerStack` no longer references `bucket.bucketName` (maybe the consumer
|
|
3350
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
3351
|
-
remove the Lambda Function altogether).
|
|
3352
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
3353
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
3354
|
-
between the two stacks is being broken.
|
|
3355
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
3356
|
-
|
|
3357
|
-
### Deployment 2: remove the bucket resource
|
|
3358
|
-
|
|
3359
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
3360
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
3361
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
3213
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
3362
3214
|
|
|
3363
3215
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.LogGlobalStack.exportValue.parameter.exportedValue"></a>
|
|
3364
3216
|
|
|
@@ -4282,48 +4134,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
4282
4134
|
|
|
4283
4135
|
Create a CloudFormation Export for a string value.
|
|
4284
4136
|
|
|
4285
|
-
Returns a string representing the corresponding
|
|
4286
|
-
expression for this Export. You can control the name for the export by
|
|
4287
|
-
passing the `name` option.
|
|
4288
|
-
|
|
4289
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
4290
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
4291
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
4292
|
-
if you used the attribute in another Stack.
|
|
4293
|
-
|
|
4294
|
-
One of the uses for this method is to *remove* the relationship between
|
|
4295
|
-
two Stacks established by automatic cross-stack references. It will
|
|
4296
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
4297
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
4298
|
-
the resource and the manual export.
|
|
4299
|
-
|
|
4300
|
-
## Example
|
|
4301
|
-
|
|
4302
|
-
Here is how the process works. Let's say there are two stacks,
|
|
4303
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
4304
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
4305
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
4137
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
4306
4138
|
|
|
4307
|
-
|
|
4308
|
-
deleted, `consumerStack` might still be using it.
|
|
4139
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
4309
4140
|
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
### Deployment 1: break the relationship
|
|
4313
|
-
|
|
4314
|
-
- Make sure `consumerStack` no longer references `bucket.bucketName` (maybe the consumer
|
|
4315
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
4316
|
-
remove the Lambda Function altogether).
|
|
4317
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
4318
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
4319
|
-
between the two stacks is being broken.
|
|
4320
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
4321
|
-
|
|
4322
|
-
### Deployment 2: remove the bucket resource
|
|
4323
|
-
|
|
4324
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
4325
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
4326
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
4141
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
4327
4142
|
|
|
4328
4143
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.LogRegionalStack.exportValue.parameter.exportedValue"></a>
|
|
4329
4144
|
|
|
@@ -5260,48 +5075,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
5260
5075
|
|
|
5261
5076
|
Create a CloudFormation Export for a string value.
|
|
5262
5077
|
|
|
5263
|
-
Returns a string representing the corresponding
|
|
5264
|
-
expression for this Export. You can control the name for the export by
|
|
5265
|
-
passing the `name` option.
|
|
5266
|
-
|
|
5267
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
5268
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
5269
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
5270
|
-
if you used the attribute in another Stack.
|
|
5271
|
-
|
|
5272
|
-
One of the uses for this method is to *remove* the relationship between
|
|
5273
|
-
two Stacks established by automatic cross-stack references. It will
|
|
5274
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
5275
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
5276
|
-
the resource and the manual export.
|
|
5277
|
-
|
|
5278
|
-
## Example
|
|
5279
|
-
|
|
5280
|
-
Here is how the process works. Let's say there are two stacks,
|
|
5281
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
5282
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
5283
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
5284
|
-
|
|
5285
|
-
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
5286
|
-
deleted, `consumerStack` might still be using it.
|
|
5078
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
5287
5079
|
|
|
5288
|
-
|
|
5080
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
5289
5081
|
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
- Make sure `consumerStack` no longer references `bucket.bucketName` (maybe the consumer
|
|
5293
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
5294
|
-
remove the Lambda Function altogether).
|
|
5295
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
5296
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
5297
|
-
between the two stacks is being broken.
|
|
5298
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
5299
|
-
|
|
5300
|
-
### Deployment 2: remove the bucket resource
|
|
5301
|
-
|
|
5302
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
5303
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
5304
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
5082
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
5305
5083
|
|
|
5306
5084
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.ManagementStack.exportValue.parameter.exportedValue"></a>
|
|
5307
5085
|
|
|
@@ -6269,48 +6047,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
6269
6047
|
|
|
6270
6048
|
Create a CloudFormation Export for a string value.
|
|
6271
6049
|
|
|
6272
|
-
Returns a string representing the corresponding
|
|
6273
|
-
expression for this Export. You can control the name for the export by
|
|
6274
|
-
passing the `name` option.
|
|
6275
|
-
|
|
6276
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
6277
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
6278
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
6279
|
-
if you used the attribute in another Stack.
|
|
6280
|
-
|
|
6281
|
-
One of the uses for this method is to *remove* the relationship between
|
|
6282
|
-
two Stacks established by automatic cross-stack references. It will
|
|
6283
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
6284
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
6285
|
-
the resource and the manual export.
|
|
6286
|
-
|
|
6287
|
-
## Example
|
|
6288
|
-
|
|
6289
|
-
Here is how the process works. Let's say there are two stacks,
|
|
6290
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
6291
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
6292
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
6293
|
-
|
|
6294
|
-
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
6295
|
-
deleted, `consumerStack` might still be using it.
|
|
6296
|
-
|
|
6297
|
-
Instead, the process takes two deployments:
|
|
6050
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
6298
6051
|
|
|
6299
|
-
|
|
6052
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
6300
6053
|
|
|
6301
|
-
|
|
6302
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
6303
|
-
remove the Lambda Function altogether).
|
|
6304
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
6305
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
6306
|
-
between the two stacks is being broken.
|
|
6307
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
6308
|
-
|
|
6309
|
-
### Deployment 2: remove the bucket resource
|
|
6310
|
-
|
|
6311
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
6312
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
6313
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
6054
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
6314
6055
|
|
|
6315
6056
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.WorkloadGlobalDataServicesPhase1Stack.exportValue.parameter.exportedValue"></a>
|
|
6316
6057
|
|
|
@@ -7242,48 +6983,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
7242
6983
|
|
|
7243
6984
|
Create a CloudFormation Export for a string value.
|
|
7244
6985
|
|
|
7245
|
-
Returns a string representing the corresponding
|
|
7246
|
-
expression for this Export. You can control the name for the export by
|
|
7247
|
-
passing the `name` option.
|
|
7248
|
-
|
|
7249
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
7250
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
7251
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
7252
|
-
if you used the attribute in another Stack.
|
|
7253
|
-
|
|
7254
|
-
One of the uses for this method is to *remove* the relationship between
|
|
7255
|
-
two Stacks established by automatic cross-stack references. It will
|
|
7256
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
7257
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
7258
|
-
the resource and the manual export.
|
|
7259
|
-
|
|
7260
|
-
## Example
|
|
7261
|
-
|
|
7262
|
-
Here is how the process works. Let's say there are two stacks,
|
|
7263
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
7264
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
7265
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
7266
|
-
|
|
7267
|
-
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
7268
|
-
deleted, `consumerStack` might still be using it.
|
|
7269
|
-
|
|
7270
|
-
Instead, the process takes two deployments:
|
|
7271
|
-
|
|
7272
|
-
### Deployment 1: break the relationship
|
|
6986
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
7273
6987
|
|
|
7274
|
-
|
|
7275
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
7276
|
-
remove the Lambda Function altogether).
|
|
7277
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
7278
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
7279
|
-
between the two stacks is being broken.
|
|
7280
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
6988
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
7281
6989
|
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
7285
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
7286
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
6990
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
7287
6991
|
|
|
7288
6992
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.WorkloadGlobalNetworkConnectionsPhase1Stack.exportValue.parameter.exportedValue"></a>
|
|
7289
6993
|
|
|
@@ -8232,48 +7936,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
8232
7936
|
|
|
8233
7937
|
Create a CloudFormation Export for a string value.
|
|
8234
7938
|
|
|
8235
|
-
Returns a string representing the corresponding
|
|
8236
|
-
expression for this Export. You can control the name for the export by
|
|
8237
|
-
passing the `name` option.
|
|
7939
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
8238
7940
|
|
|
8239
|
-
If you don
|
|
8240
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
8241
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
8242
|
-
if you used the attribute in another Stack.
|
|
7941
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
8243
7942
|
|
|
8244
|
-
One of the uses for this method is to
|
|
8245
|
-
two Stacks established by automatic cross-stack references. It will
|
|
8246
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
8247
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
8248
|
-
the resource and the manual export.
|
|
8249
|
-
|
|
8250
|
-
## Example
|
|
8251
|
-
|
|
8252
|
-
Here is how the process works. Let's say there are two stacks,
|
|
8253
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
8254
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
8255
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
8256
|
-
|
|
8257
|
-
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
8258
|
-
deleted, `consumerStack` might still be using it.
|
|
8259
|
-
|
|
8260
|
-
Instead, the process takes two deployments:
|
|
8261
|
-
|
|
8262
|
-
### Deployment 1: break the relationship
|
|
8263
|
-
|
|
8264
|
-
- Make sure `consumerStack` no longer references `bucket.bucketName` (maybe the consumer
|
|
8265
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
8266
|
-
remove the Lambda Function altogether).
|
|
8267
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
8268
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
8269
|
-
between the two stacks is being broken.
|
|
8270
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
8271
|
-
|
|
8272
|
-
### Deployment 2: remove the bucket resource
|
|
8273
|
-
|
|
8274
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
8275
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
8276
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
7943
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
8277
7944
|
|
|
8278
7945
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.WorkloadGlobalNetworkConnectionsPhase2Stack.exportValue.parameter.exportedValue"></a>
|
|
8279
7946
|
|
|
@@ -9204,48 +8871,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
9204
8871
|
|
|
9205
8872
|
Create a CloudFormation Export for a string value.
|
|
9206
8873
|
|
|
9207
|
-
Returns a string representing the corresponding
|
|
9208
|
-
expression for this Export. You can control the name for the export by
|
|
9209
|
-
passing the `name` option.
|
|
9210
|
-
|
|
9211
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
9212
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
9213
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
9214
|
-
if you used the attribute in another Stack.
|
|
9215
|
-
|
|
9216
|
-
One of the uses for this method is to *remove* the relationship between
|
|
9217
|
-
two Stacks established by automatic cross-stack references. It will
|
|
9218
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
9219
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
9220
|
-
the resource and the manual export.
|
|
9221
|
-
|
|
9222
|
-
## Example
|
|
9223
|
-
|
|
9224
|
-
Here is how the process works. Let's say there are two stacks,
|
|
9225
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
9226
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
9227
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
9228
|
-
|
|
9229
|
-
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
9230
|
-
deleted, `consumerStack` might still be using it.
|
|
8874
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
9231
8875
|
|
|
9232
|
-
|
|
8876
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
9233
8877
|
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
- Make sure `consumerStack` no longer references `bucket.bucketName` (maybe the consumer
|
|
9237
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
9238
|
-
remove the Lambda Function altogether).
|
|
9239
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
9240
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
9241
|
-
between the two stacks is being broken.
|
|
9242
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
9243
|
-
|
|
9244
|
-
### Deployment 2: remove the bucket resource
|
|
9245
|
-
|
|
9246
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
9247
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
9248
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
8878
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
9249
8879
|
|
|
9250
8880
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.WorkloadGlobalNetworkConnectionsPhase3Stack.exportValue.parameter.exportedValue"></a>
|
|
9251
8881
|
|
|
@@ -10178,48 +9808,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
10178
9808
|
|
|
10179
9809
|
Create a CloudFormation Export for a string value.
|
|
10180
9810
|
|
|
10181
|
-
Returns a string representing the corresponding
|
|
10182
|
-
expression for this Export. You can control the name for the export by
|
|
10183
|
-
passing the `name` option.
|
|
10184
|
-
|
|
10185
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
10186
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
10187
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
10188
|
-
if you used the attribute in another Stack.
|
|
10189
|
-
|
|
10190
|
-
One of the uses for this method is to *remove* the relationship between
|
|
10191
|
-
two Stacks established by automatic cross-stack references. It will
|
|
10192
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
10193
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
10194
|
-
the resource and the manual export.
|
|
10195
|
-
|
|
10196
|
-
## Example
|
|
10197
|
-
|
|
10198
|
-
Here is how the process works. Let's say there are two stacks,
|
|
10199
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
10200
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
10201
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
10202
|
-
|
|
10203
|
-
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
10204
|
-
deleted, `consumerStack` might still be using it.
|
|
10205
|
-
|
|
10206
|
-
Instead, the process takes two deployments:
|
|
9811
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
10207
9812
|
|
|
10208
|
-
|
|
9813
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
10209
9814
|
|
|
10210
|
-
|
|
10211
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
10212
|
-
remove the Lambda Function altogether).
|
|
10213
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
10214
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
10215
|
-
between the two stacks is being broken.
|
|
10216
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
10217
|
-
|
|
10218
|
-
### Deployment 2: remove the bucket resource
|
|
10219
|
-
|
|
10220
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
10221
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
10222
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
9815
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
10223
9816
|
|
|
10224
9817
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.WorkloadGlobalStack.exportValue.parameter.exportedValue"></a>
|
|
10225
9818
|
|
|
@@ -11166,48 +10759,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
11166
10759
|
|
|
11167
10760
|
Create a CloudFormation Export for a string value.
|
|
11168
10761
|
|
|
11169
|
-
Returns a string representing the corresponding
|
|
11170
|
-
expression for this Export. You can control the name for the export by
|
|
11171
|
-
passing the `name` option.
|
|
11172
|
-
|
|
11173
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
11174
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
11175
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
11176
|
-
if you used the attribute in another Stack.
|
|
11177
|
-
|
|
11178
|
-
One of the uses for this method is to *remove* the relationship between
|
|
11179
|
-
two Stacks established by automatic cross-stack references. It will
|
|
11180
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
11181
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
11182
|
-
the resource and the manual export.
|
|
11183
|
-
|
|
11184
|
-
## Example
|
|
11185
|
-
|
|
11186
|
-
Here is how the process works. Let's say there are two stacks,
|
|
11187
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
11188
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
11189
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
11190
|
-
|
|
11191
|
-
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
11192
|
-
deleted, `consumerStack` might still be using it.
|
|
11193
|
-
|
|
11194
|
-
Instead, the process takes two deployments:
|
|
11195
|
-
|
|
11196
|
-
### Deployment 1: break the relationship
|
|
10762
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
11197
10763
|
|
|
11198
|
-
|
|
11199
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
11200
|
-
remove the Lambda Function altogether).
|
|
11201
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
11202
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
11203
|
-
between the two stacks is being broken.
|
|
11204
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
10764
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
11205
10765
|
|
|
11206
|
-
|
|
11207
|
-
|
|
11208
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
11209
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
11210
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
10766
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
11211
10767
|
|
|
11212
10768
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.WorkloadRegionalDataServicesPhase1Stack.exportValue.parameter.exportedValue"></a>
|
|
11213
10769
|
|
|
@@ -12138,48 +11694,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
12138
11694
|
|
|
12139
11695
|
Create a CloudFormation Export for a string value.
|
|
12140
11696
|
|
|
12141
|
-
Returns a string representing the corresponding
|
|
12142
|
-
expression for this Export. You can control the name for the export by
|
|
12143
|
-
passing the `name` option.
|
|
12144
|
-
|
|
12145
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
12146
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
12147
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
12148
|
-
if you used the attribute in another Stack.
|
|
12149
|
-
|
|
12150
|
-
One of the uses for this method is to *remove* the relationship between
|
|
12151
|
-
two Stacks established by automatic cross-stack references. It will
|
|
12152
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
12153
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
12154
|
-
the resource and the manual export.
|
|
12155
|
-
|
|
12156
|
-
## Example
|
|
11697
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
12157
11698
|
|
|
12158
|
-
|
|
12159
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
12160
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
12161
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
11699
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
12162
11700
|
|
|
12163
|
-
|
|
12164
|
-
deleted, `consumerStack` might still be using it.
|
|
12165
|
-
|
|
12166
|
-
Instead, the process takes two deployments:
|
|
12167
|
-
|
|
12168
|
-
### Deployment 1: break the relationship
|
|
12169
|
-
|
|
12170
|
-
- Make sure `consumerStack` no longer references `bucket.bucketName` (maybe the consumer
|
|
12171
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
12172
|
-
remove the Lambda Function altogether).
|
|
12173
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
12174
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
12175
|
-
between the two stacks is being broken.
|
|
12176
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
12177
|
-
|
|
12178
|
-
### Deployment 2: remove the bucket resource
|
|
12179
|
-
|
|
12180
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
12181
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
12182
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
11701
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
12183
11702
|
|
|
12184
11703
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.WorkloadRegionalNetworkConnectionsPhase2Stack.exportValue.parameter.exportedValue"></a>
|
|
12185
11704
|
|
|
@@ -13110,48 +12629,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
13110
12629
|
|
|
13111
12630
|
Create a CloudFormation Export for a string value.
|
|
13112
12631
|
|
|
13113
|
-
Returns a string representing the corresponding
|
|
13114
|
-
expression for this Export. You can control the name for the export by
|
|
13115
|
-
passing the `name` option.
|
|
13116
|
-
|
|
13117
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
13118
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
13119
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
13120
|
-
if you used the attribute in another Stack.
|
|
13121
|
-
|
|
13122
|
-
One of the uses for this method is to *remove* the relationship between
|
|
13123
|
-
two Stacks established by automatic cross-stack references. It will
|
|
13124
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
13125
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
13126
|
-
the resource and the manual export.
|
|
13127
|
-
|
|
13128
|
-
## Example
|
|
13129
|
-
|
|
13130
|
-
Here is how the process works. Let's say there are two stacks,
|
|
13131
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
13132
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
13133
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
12632
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
13134
12633
|
|
|
13135
|
-
|
|
13136
|
-
deleted, `consumerStack` might still be using it.
|
|
12634
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
13137
12635
|
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
### Deployment 1: break the relationship
|
|
13141
|
-
|
|
13142
|
-
- Make sure `consumerStack` no longer references `bucket.bucketName` (maybe the consumer
|
|
13143
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
13144
|
-
remove the Lambda Function altogether).
|
|
13145
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
13146
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
13147
|
-
between the two stacks is being broken.
|
|
13148
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
13149
|
-
|
|
13150
|
-
### Deployment 2: remove the bucket resource
|
|
13151
|
-
|
|
13152
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
13153
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
13154
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
12636
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
13155
12637
|
|
|
13156
12638
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.WorkloadRegionalNetworkConnectionsPhase3Stack.exportValue.parameter.exportedValue"></a>
|
|
13157
12639
|
|
|
@@ -14082,48 +13564,11 @@ public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
|
14082
13564
|
|
|
14083
13565
|
Create a CloudFormation Export for a string value.
|
|
14084
13566
|
|
|
14085
|
-
Returns a string representing the corresponding
|
|
14086
|
-
expression for this Export. You can control the name for the export by
|
|
14087
|
-
passing the `name` option.
|
|
14088
|
-
|
|
14089
|
-
If you don't supply a value for `name`, the value you're exporting must be
|
|
14090
|
-
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
14091
|
-
given the same name as the automatic cross-stack reference that would be created
|
|
14092
|
-
if you used the attribute in another Stack.
|
|
14093
|
-
|
|
14094
|
-
One of the uses for this method is to *remove* the relationship between
|
|
14095
|
-
two Stacks established by automatic cross-stack references. It will
|
|
14096
|
-
temporarily ensure that the CloudFormation Export still exists while you
|
|
14097
|
-
remove the reference from the consuming stack. After that, you can remove
|
|
14098
|
-
the resource and the manual export.
|
|
14099
|
-
|
|
14100
|
-
## Example
|
|
14101
|
-
|
|
14102
|
-
Here is how the process works. Let's say there are two stacks,
|
|
14103
|
-
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
14104
|
-
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
14105
|
-
an AWS Lambda Function writes into it, or something like that).
|
|
14106
|
-
|
|
14107
|
-
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
14108
|
-
deleted, `consumerStack` might still be using it.
|
|
13567
|
+
Returns a string representing the corresponding Fn.importValue() expression for this Export. You can control the name for the export by passing the name option.
|
|
14109
13568
|
|
|
14110
|
-
|
|
13569
|
+
If you don’t supply a value for name, the value you’re exporting must be a Resource attribute (for example: bucket.bucketName) and it will be given the same name as the automatic cross-stack reference that would be created if you used the attribute in another Stack.
|
|
14111
13570
|
|
|
14112
|
-
|
|
14113
|
-
|
|
14114
|
-
- Make sure `consumerStack` no longer references `bucket.bucketName` (maybe the consumer
|
|
14115
|
-
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
14116
|
-
remove the Lambda Function altogether).
|
|
14117
|
-
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
14118
|
-
will make sure the CloudFormation Export continues to exist while the relationship
|
|
14119
|
-
between the two stacks is being broken.
|
|
14120
|
-
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
14121
|
-
|
|
14122
|
-
### Deployment 2: remove the bucket resource
|
|
14123
|
-
|
|
14124
|
-
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
14125
|
-
- Don't forget to remove the `exportValue()` call as well.
|
|
14126
|
-
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
13571
|
+
One of the uses for this method is to remove the relationship between two Stacks established by automatic cross-stack references. It will temporarily ensure that the CloudFormation Export still exists while you remove the reference from the consuming stack. After that, you can remove the resource and the manual export.
|
|
14127
13572
|
|
|
14128
13573
|
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="aws-data-landing-zone.WorkloadRegionalStack.exportValue.parameter.exportedValue"></a>
|
|
14129
13574
|
|
|
@@ -14880,7 +14325,6 @@ const auditStacks: AuditStacks = { ... }
|
|
|
14880
14325
|
| **Name** | **Type** | **Description** |
|
|
14881
14326
|
| --- | --- | --- |
|
|
14882
14327
|
| <code><a href="#aws-data-landing-zone.AuditStacks.property.global">global</a></code> | <code><a href="#aws-data-landing-zone.AuditGlobalStack">AuditGlobalStack</a></code> | *No description.* |
|
|
14883
|
-
| <code><a href="#aws-data-landing-zone.AuditStacks.property.regional">regional</a></code> | <code><a href="#aws-data-landing-zone.AuditRegionalStack">AuditRegionalStack</a>[]</code> | *No description.* |
|
|
14884
14328
|
|
|
14885
14329
|
---
|
|
14886
14330
|
|
|
@@ -14894,16 +14338,6 @@ public readonly global: AuditGlobalStack;
|
|
|
14894
14338
|
|
|
14895
14339
|
---
|
|
14896
14340
|
|
|
14897
|
-
##### `regional`<sup>Required</sup> <a name="regional" id="aws-data-landing-zone.AuditStacks.property.regional"></a>
|
|
14898
|
-
|
|
14899
|
-
```typescript
|
|
14900
|
-
public readonly regional: AuditRegionalStack[];
|
|
14901
|
-
```
|
|
14902
|
-
|
|
14903
|
-
- *Type:* <a href="#aws-data-landing-zone.AuditRegionalStack">AuditRegionalStack</a>[]
|
|
14904
|
-
|
|
14905
|
-
---
|
|
14906
|
-
|
|
14907
14341
|
### BaseSharedTagProps <a name="BaseSharedTagProps" id="aws-data-landing-zone.BaseSharedTagProps"></a>
|
|
14908
14342
|
|
|
14909
14343
|
#### Initializer <a name="Initializer" id="aws-data-landing-zone.BaseSharedTagProps.Initializer"></a>
|
|
@@ -16625,9 +16059,9 @@ const gitHubReference: GitHubReference = { ... }
|
|
|
16625
16059
|
|
|
16626
16060
|
| **Name** | **Type** | **Description** |
|
|
16627
16061
|
| --- | --- | --- |
|
|
16628
|
-
| <code><a href="#aws-data-landing-zone.GitHubReference.property.owner">owner</a></code> | <code>string</code> |
|
|
16629
|
-
| <code><a href="#aws-data-landing-zone.GitHubReference.property.repo">repo</a></code> | <code>string</code> |
|
|
16630
|
-
| <code><a href="#aws-data-landing-zone.GitHubReference.property.filter">filter</a></code> | <code>string</code> |
|
|
16062
|
+
| <code><a href="#aws-data-landing-zone.GitHubReference.property.owner">owner</a></code> | <code>string</code> | The owner of the GitHub repository. |
|
|
16063
|
+
| <code><a href="#aws-data-landing-zone.GitHubReference.property.repo">repo</a></code> | <code>string</code> | The repository name. |
|
|
16064
|
+
| <code><a href="#aws-data-landing-zone.GitHubReference.property.filter">filter</a></code> | <code>string</code> | For a complete list of filters see https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/about-security-hardening-with-openid-connect#understanding-the-oidc-token. |
|
|
16631
16065
|
|
|
16632
16066
|
---
|
|
16633
16067
|
|
|
@@ -16639,6 +16073,8 @@ public readonly owner: string;
|
|
|
16639
16073
|
|
|
16640
16074
|
- *Type:* string
|
|
16641
16075
|
|
|
16076
|
+
The owner of the GitHub repository.
|
|
16077
|
+
|
|
16642
16078
|
---
|
|
16643
16079
|
|
|
16644
16080
|
##### `repo`<sup>Required</sup> <a name="repo" id="aws-data-landing-zone.GitHubReference.property.repo"></a>
|
|
@@ -16649,6 +16085,8 @@ public readonly repo: string;
|
|
|
16649
16085
|
|
|
16650
16086
|
- *Type:* string
|
|
16651
16087
|
|
|
16088
|
+
The repository name.
|
|
16089
|
+
|
|
16652
16090
|
---
|
|
16653
16091
|
|
|
16654
16092
|
##### `filter`<sup>Optional</sup> <a name="filter" id="aws-data-landing-zone.GitHubReference.property.filter"></a>
|
|
@@ -16659,6 +16097,16 @@ public readonly filter: string;
|
|
|
16659
16097
|
|
|
16660
16098
|
- *Type:* string
|
|
16661
16099
|
|
|
16100
|
+
For a complete list of filters see https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/about-security-hardening-with-openid-connect#understanding-the-oidc-token.
|
|
16101
|
+
|
|
16102
|
+
Some common Examples:
|
|
16103
|
+
- specific environment `environment:ENVIRONMENT-NAME`
|
|
16104
|
+
- specific branch `ref:refs/heads/BRANCH-NAME`
|
|
16105
|
+
- specific tag `ref:refs/tags/TAG-NAME`
|
|
16106
|
+
- only PRs `pull_request`
|
|
16107
|
+
|
|
16108
|
+
A `*` can be used for most parts like `ENVIRONMENT-NAME`, `BRANCH-NAME`, `TAG-NAME`
|
|
16109
|
+
|
|
16662
16110
|
---
|
|
16663
16111
|
|
|
16664
16112
|
### GlobalVariables <a name="GlobalVariables" id="aws-data-landing-zone.GlobalVariables"></a>
|
|
@@ -17705,34 +17153,6 @@ import { LogStacks } from 'aws-data-landing-zone'
|
|
|
17705
17153
|
const logStacks: LogStacks = { ... }
|
|
17706
17154
|
```
|
|
17707
17155
|
|
|
17708
|
-
#### Properties <a name="Properties" id="Properties"></a>
|
|
17709
|
-
|
|
17710
|
-
| **Name** | **Type** | **Description** |
|
|
17711
|
-
| --- | --- | --- |
|
|
17712
|
-
| <code><a href="#aws-data-landing-zone.LogStacks.property.global">global</a></code> | <code><a href="#aws-data-landing-zone.LogGlobalStack">LogGlobalStack</a></code> | *No description.* |
|
|
17713
|
-
| <code><a href="#aws-data-landing-zone.LogStacks.property.regional">regional</a></code> | <code><a href="#aws-data-landing-zone.LogGlobalStack">LogGlobalStack</a>[]</code> | *No description.* |
|
|
17714
|
-
|
|
17715
|
-
---
|
|
17716
|
-
|
|
17717
|
-
##### `global`<sup>Required</sup> <a name="global" id="aws-data-landing-zone.LogStacks.property.global"></a>
|
|
17718
|
-
|
|
17719
|
-
```typescript
|
|
17720
|
-
public readonly global: LogGlobalStack;
|
|
17721
|
-
```
|
|
17722
|
-
|
|
17723
|
-
- *Type:* <a href="#aws-data-landing-zone.LogGlobalStack">LogGlobalStack</a>
|
|
17724
|
-
|
|
17725
|
-
---
|
|
17726
|
-
|
|
17727
|
-
##### `regional`<sup>Required</sup> <a name="regional" id="aws-data-landing-zone.LogStacks.property.regional"></a>
|
|
17728
|
-
|
|
17729
|
-
```typescript
|
|
17730
|
-
public readonly regional: LogGlobalStack[];
|
|
17731
|
-
```
|
|
17732
|
-
|
|
17733
|
-
- *Type:* <a href="#aws-data-landing-zone.LogGlobalStack">LogGlobalStack</a>[]
|
|
17734
|
-
|
|
17735
|
-
---
|
|
17736
17156
|
|
|
17737
17157
|
### MandatoryTags <a name="MandatoryTags" id="aws-data-landing-zone.MandatoryTags"></a>
|
|
17738
17158
|
|