aws-cdk-lib 2.96.2__py3-none-any.whl → 2.97.1__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +246 -62
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.96.2.jsii.tgz → aws-cdk-lib@2.97.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1 -1
- aws_cdk/aws_appflow/__init__.py +205 -7
- aws_cdk/aws_appstream/__init__.py +33 -28
- aws_cdk/aws_appsync/__init__.py +555 -71
- aws_cdk/aws_autoscaling/__init__.py +5 -11
- aws_cdk/aws_billingconductor/__init__.py +145 -1
- aws_cdk/aws_cleanrooms/__init__.py +1198 -86
- aws_cdk/aws_cloudformation/__init__.py +221 -55
- aws_cdk/aws_cloudwatch/__init__.py +325 -2
- aws_cdk/aws_cognito/__init__.py +9 -13
- aws_cdk/aws_config/__init__.py +68 -73
- aws_cdk/aws_connect/__init__.py +909 -164
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_dms/__init__.py +198 -0
- aws_cdk/aws_ec2/__init__.py +593 -73
- aws_cdk/aws_ecr/__init__.py +7 -2
- aws_cdk/aws_ecs/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +237 -0
- aws_cdk/aws_emr/__init__.py +232 -0
- aws_cdk/aws_entityresolution/__init__.py +1702 -0
- aws_cdk/aws_events/__init__.py +13 -18
- aws_cdk/aws_fms/__init__.py +3 -3
- aws_cdk/aws_gamelift/__init__.py +10 -15
- aws_cdk/aws_grafana/__init__.py +9 -5
- aws_cdk/aws_guardduty/__init__.py +272 -205
- aws_cdk/aws_iam/__init__.py +20 -18
- aws_cdk/aws_iotwireless/__init__.py +38 -54
- aws_cdk/aws_lakeformation/__init__.py +18 -6
- aws_cdk/aws_lambda/__init__.py +1 -1
- aws_cdk/aws_lightsail/__init__.py +225 -0
- aws_cdk/aws_lookoutequipment/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +5 -3
- aws_cdk/aws_mediapackagev2/__init__.py +3227 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +6785 -0
- aws_cdk/aws_quicksight/__init__.py +189 -116
- aws_cdk/aws_rds/__init__.py +316 -9
- aws_cdk/aws_resiliencehub/__init__.py +38 -21
- aws_cdk/aws_route53resolver/__init__.py +429 -0
- aws_cdk/aws_sagemaker/__init__.py +34 -34
- aws_cdk/aws_stepfunctions/__init__.py +111 -14
- aws_cdk/aws_transfer/__init__.py +2 -2
- aws_cdk/aws_vpclattice/__init__.py +128 -120
- aws_cdk/aws_workspacesweb/__init__.py +3790 -0
- aws_cdk/region_info/__init__.py +49 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/RECORD +53 -49
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/top_level.txt +0 -0
|
@@ -3234,9 +3234,6 @@ class CfnStack(
|
|
|
3234
3234
|
from aws_cdk import aws_cloudformation as cloudformation
|
|
3235
3235
|
|
|
3236
3236
|
cfn_stack = cloudformation.CfnStack(self, "MyCfnStack",
|
|
3237
|
-
template_url="templateUrl",
|
|
3238
|
-
|
|
3239
|
-
# the properties below are optional
|
|
3240
3237
|
notification_arns=["notificationArns"],
|
|
3241
3238
|
parameters={
|
|
3242
3239
|
"parameters_key": "parameters"
|
|
@@ -3245,6 +3242,7 @@ class CfnStack(
|
|
|
3245
3242
|
key="key",
|
|
3246
3243
|
value="value"
|
|
3247
3244
|
)],
|
|
3245
|
+
template_url="templateUrl",
|
|
3248
3246
|
timeout_in_minutes=123
|
|
3249
3247
|
)
|
|
3250
3248
|
'''
|
|
@@ -3254,19 +3252,19 @@ class CfnStack(
|
|
|
3254
3252
|
scope: _constructs_77d1e7e8.Construct,
|
|
3255
3253
|
id: builtins.str,
|
|
3256
3254
|
*,
|
|
3257
|
-
template_url: builtins.str,
|
|
3258
3255
|
notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3259
3256
|
parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
3260
3257
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3258
|
+
template_url: typing.Optional[builtins.str] = None,
|
|
3261
3259
|
timeout_in_minutes: typing.Optional[jsii.Number] = None,
|
|
3262
3260
|
) -> None:
|
|
3263
3261
|
'''
|
|
3264
3262
|
:param scope: Scope in which this resource is defined.
|
|
3265
3263
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3266
|
-
:param template_url: Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket. For more information, see `Template anatomy <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html>`_ . Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
|
|
3267
3264
|
:param notification_arns: The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).
|
|
3268
3265
|
:param parameters: The set value pairs that represent the parameters passed to CloudFormation when this nested stack is created. Each parameter has a name corresponding to a parameter defined in the embedded template and a value representing the value that you want to set for the parameter. .. epigraph:: If you use the ``Ref`` function to pass a parameter value to a nested stack, comma-delimited list parameters must be of type ``String`` . In other words, you can't pass values that are of type ``CommaDelimitedList`` to nested stacks. Conditional. Required if the nested stack requires input parameters. Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
|
|
3269
3266
|
:param tags: Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 50 tags can be specified.
|
|
3267
|
+
:param template_url: Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket. For more information, see `Template anatomy <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html>`_ . Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
|
|
3270
3268
|
:param timeout_in_minutes: The length of time, in minutes, that CloudFormation waits for the nested stack to reach the ``CREATE_COMPLETE`` state. The default is no timeout. When CloudFormation detects that the nested stack has reached the ``CREATE_COMPLETE`` state, it marks the nested stack resource as ``CREATE_COMPLETE`` in the parent stack and resumes creating the parent stack. If the timeout period expires before the nested stack reaches ``CREATE_COMPLETE`` , CloudFormation marks the nested stack as failed and rolls back both the nested stack and parent stack. Updates aren't supported.
|
|
3271
3269
|
'''
|
|
3272
3270
|
if __debug__:
|
|
@@ -3274,10 +3272,10 @@ class CfnStack(
|
|
|
3274
3272
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3275
3273
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3276
3274
|
props = CfnStackProps(
|
|
3277
|
-
template_url=template_url,
|
|
3278
3275
|
notification_arns=notification_arns,
|
|
3279
3276
|
parameters=parameters,
|
|
3280
3277
|
tags=tags,
|
|
3278
|
+
template_url=template_url,
|
|
3281
3279
|
timeout_in_minutes=timeout_in_minutes,
|
|
3282
3280
|
)
|
|
3283
3281
|
|
|
@@ -3314,12 +3312,68 @@ class CfnStack(
|
|
|
3314
3312
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
3315
3313
|
|
|
3316
3314
|
@builtins.property
|
|
3317
|
-
@jsii.member(jsii_name="
|
|
3318
|
-
def
|
|
3315
|
+
@jsii.member(jsii_name="attrChangeSetId")
|
|
3316
|
+
def attr_change_set_id(self) -> builtins.str:
|
|
3319
3317
|
'''
|
|
3320
|
-
:cloudformationAttribute:
|
|
3318
|
+
:cloudformationAttribute: ChangeSetId
|
|
3321
3319
|
'''
|
|
3322
|
-
return typing.cast(builtins.str, jsii.get(self, "
|
|
3320
|
+
return typing.cast(builtins.str, jsii.get(self, "attrChangeSetId"))
|
|
3321
|
+
|
|
3322
|
+
@builtins.property
|
|
3323
|
+
@jsii.member(jsii_name="attrCreationTime")
|
|
3324
|
+
def attr_creation_time(self) -> builtins.str:
|
|
3325
|
+
'''
|
|
3326
|
+
:cloudformationAttribute: CreationTime
|
|
3327
|
+
'''
|
|
3328
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreationTime"))
|
|
3329
|
+
|
|
3330
|
+
@builtins.property
|
|
3331
|
+
@jsii.member(jsii_name="attrLastUpdateTime")
|
|
3332
|
+
def attr_last_update_time(self) -> builtins.str:
|
|
3333
|
+
'''
|
|
3334
|
+
:cloudformationAttribute: LastUpdateTime
|
|
3335
|
+
'''
|
|
3336
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastUpdateTime"))
|
|
3337
|
+
|
|
3338
|
+
@builtins.property
|
|
3339
|
+
@jsii.member(jsii_name="attrOutputs")
|
|
3340
|
+
def attr_outputs(self) -> _IResolvable_da3f097b:
|
|
3341
|
+
'''
|
|
3342
|
+
:cloudformationAttribute: Outputs
|
|
3343
|
+
'''
|
|
3344
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrOutputs"))
|
|
3345
|
+
|
|
3346
|
+
@builtins.property
|
|
3347
|
+
@jsii.member(jsii_name="attrParentId")
|
|
3348
|
+
def attr_parent_id(self) -> builtins.str:
|
|
3349
|
+
'''
|
|
3350
|
+
:cloudformationAttribute: ParentId
|
|
3351
|
+
'''
|
|
3352
|
+
return typing.cast(builtins.str, jsii.get(self, "attrParentId"))
|
|
3353
|
+
|
|
3354
|
+
@builtins.property
|
|
3355
|
+
@jsii.member(jsii_name="attrRootId")
|
|
3356
|
+
def attr_root_id(self) -> builtins.str:
|
|
3357
|
+
'''
|
|
3358
|
+
:cloudformationAttribute: RootId
|
|
3359
|
+
'''
|
|
3360
|
+
return typing.cast(builtins.str, jsii.get(self, "attrRootId"))
|
|
3361
|
+
|
|
3362
|
+
@builtins.property
|
|
3363
|
+
@jsii.member(jsii_name="attrStackId")
|
|
3364
|
+
def attr_stack_id(self) -> builtins.str:
|
|
3365
|
+
'''
|
|
3366
|
+
:cloudformationAttribute: StackId
|
|
3367
|
+
'''
|
|
3368
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStackId"))
|
|
3369
|
+
|
|
3370
|
+
@builtins.property
|
|
3371
|
+
@jsii.member(jsii_name="attrStackStatus")
|
|
3372
|
+
def attr_stack_status(self) -> builtins.str:
|
|
3373
|
+
'''
|
|
3374
|
+
:cloudformationAttribute: StackStatus
|
|
3375
|
+
'''
|
|
3376
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStackStatus"))
|
|
3323
3377
|
|
|
3324
3378
|
@builtins.property
|
|
3325
3379
|
@jsii.member(jsii_name="cfnProperties")
|
|
@@ -3332,19 +3386,6 @@ class CfnStack(
|
|
|
3332
3386
|
'''Tag Manager which manages the tags for this resource.'''
|
|
3333
3387
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
3334
3388
|
|
|
3335
|
-
@builtins.property
|
|
3336
|
-
@jsii.member(jsii_name="templateUrl")
|
|
3337
|
-
def template_url(self) -> builtins.str:
|
|
3338
|
-
'''Location of file containing the template body.'''
|
|
3339
|
-
return typing.cast(builtins.str, jsii.get(self, "templateUrl"))
|
|
3340
|
-
|
|
3341
|
-
@template_url.setter
|
|
3342
|
-
def template_url(self, value: builtins.str) -> None:
|
|
3343
|
-
if __debug__:
|
|
3344
|
-
type_hints = typing.get_type_hints(_typecheckingstub__3db469b6ac2b6930a53773a7067f28dcbe494d1c4c0aa67dc9ab276d28d07904)
|
|
3345
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3346
|
-
jsii.set(self, "templateUrl", value)
|
|
3347
|
-
|
|
3348
3389
|
@builtins.property
|
|
3349
3390
|
@jsii.member(jsii_name="notificationArns")
|
|
3350
3391
|
def notification_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -3392,6 +3433,19 @@ class CfnStack(
|
|
|
3392
3433
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3393
3434
|
jsii.set(self, "tagsRaw", value)
|
|
3394
3435
|
|
|
3436
|
+
@builtins.property
|
|
3437
|
+
@jsii.member(jsii_name="templateUrl")
|
|
3438
|
+
def template_url(self) -> typing.Optional[builtins.str]:
|
|
3439
|
+
'''Location of file containing the template body.'''
|
|
3440
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "templateUrl"))
|
|
3441
|
+
|
|
3442
|
+
@template_url.setter
|
|
3443
|
+
def template_url(self, value: typing.Optional[builtins.str]) -> None:
|
|
3444
|
+
if __debug__:
|
|
3445
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3db469b6ac2b6930a53773a7067f28dcbe494d1c4c0aa67dc9ab276d28d07904)
|
|
3446
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3447
|
+
jsii.set(self, "templateUrl", value)
|
|
3448
|
+
|
|
3395
3449
|
@builtins.property
|
|
3396
3450
|
@jsii.member(jsii_name="timeoutInMinutes")
|
|
3397
3451
|
def timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
|
|
@@ -3405,15 +3459,120 @@ class CfnStack(
|
|
|
3405
3459
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3406
3460
|
jsii.set(self, "timeoutInMinutes", value)
|
|
3407
3461
|
|
|
3462
|
+
@jsii.data_type(
|
|
3463
|
+
jsii_type="aws-cdk-lib.aws_cloudformation.CfnStack.OutputProperty",
|
|
3464
|
+
jsii_struct_bases=[],
|
|
3465
|
+
name_mapping={
|
|
3466
|
+
"description": "description",
|
|
3467
|
+
"export_name": "exportName",
|
|
3468
|
+
"output_key": "outputKey",
|
|
3469
|
+
"output_value": "outputValue",
|
|
3470
|
+
},
|
|
3471
|
+
)
|
|
3472
|
+
class OutputProperty:
|
|
3473
|
+
def __init__(
|
|
3474
|
+
self,
|
|
3475
|
+
*,
|
|
3476
|
+
description: typing.Optional[builtins.str] = None,
|
|
3477
|
+
export_name: typing.Optional[builtins.str] = None,
|
|
3478
|
+
output_key: typing.Optional[builtins.str] = None,
|
|
3479
|
+
output_value: typing.Optional[builtins.str] = None,
|
|
3480
|
+
) -> None:
|
|
3481
|
+
'''The Output data type.
|
|
3482
|
+
|
|
3483
|
+
:param description: User defined description associated with the output.
|
|
3484
|
+
:param export_name: The name of the export associated with the output.
|
|
3485
|
+
:param output_key: The key associated with the output.
|
|
3486
|
+
:param output_value: The value associated with the output.
|
|
3487
|
+
|
|
3488
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stack-output.html
|
|
3489
|
+
:exampleMetadata: fixture=_generated
|
|
3490
|
+
|
|
3491
|
+
Example::
|
|
3492
|
+
|
|
3493
|
+
# The code below shows an example of how to instantiate this type.
|
|
3494
|
+
# The values are placeholders you should change.
|
|
3495
|
+
from aws_cdk import aws_cloudformation as cloudformation
|
|
3496
|
+
|
|
3497
|
+
output_property = cloudformation.CfnStack.OutputProperty(
|
|
3498
|
+
description="description",
|
|
3499
|
+
export_name="exportName",
|
|
3500
|
+
output_key="outputKey",
|
|
3501
|
+
output_value="outputValue"
|
|
3502
|
+
)
|
|
3503
|
+
'''
|
|
3504
|
+
if __debug__:
|
|
3505
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a4b95d92bea1984ce15e37fa304b047ed771a4f764d414ffac328157423828dc)
|
|
3506
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
3507
|
+
check_type(argname="argument export_name", value=export_name, expected_type=type_hints["export_name"])
|
|
3508
|
+
check_type(argname="argument output_key", value=output_key, expected_type=type_hints["output_key"])
|
|
3509
|
+
check_type(argname="argument output_value", value=output_value, expected_type=type_hints["output_value"])
|
|
3510
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3511
|
+
if description is not None:
|
|
3512
|
+
self._values["description"] = description
|
|
3513
|
+
if export_name is not None:
|
|
3514
|
+
self._values["export_name"] = export_name
|
|
3515
|
+
if output_key is not None:
|
|
3516
|
+
self._values["output_key"] = output_key
|
|
3517
|
+
if output_value is not None:
|
|
3518
|
+
self._values["output_value"] = output_value
|
|
3519
|
+
|
|
3520
|
+
@builtins.property
|
|
3521
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
3522
|
+
'''User defined description associated with the output.
|
|
3523
|
+
|
|
3524
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stack-output.html#cfn-cloudformation-stack-output-description
|
|
3525
|
+
'''
|
|
3526
|
+
result = self._values.get("description")
|
|
3527
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3528
|
+
|
|
3529
|
+
@builtins.property
|
|
3530
|
+
def export_name(self) -> typing.Optional[builtins.str]:
|
|
3531
|
+
'''The name of the export associated with the output.
|
|
3532
|
+
|
|
3533
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stack-output.html#cfn-cloudformation-stack-output-exportname
|
|
3534
|
+
'''
|
|
3535
|
+
result = self._values.get("export_name")
|
|
3536
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3537
|
+
|
|
3538
|
+
@builtins.property
|
|
3539
|
+
def output_key(self) -> typing.Optional[builtins.str]:
|
|
3540
|
+
'''The key associated with the output.
|
|
3541
|
+
|
|
3542
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stack-output.html#cfn-cloudformation-stack-output-outputkey
|
|
3543
|
+
'''
|
|
3544
|
+
result = self._values.get("output_key")
|
|
3545
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3546
|
+
|
|
3547
|
+
@builtins.property
|
|
3548
|
+
def output_value(self) -> typing.Optional[builtins.str]:
|
|
3549
|
+
'''The value associated with the output.
|
|
3550
|
+
|
|
3551
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stack-output.html#cfn-cloudformation-stack-output-outputvalue
|
|
3552
|
+
'''
|
|
3553
|
+
result = self._values.get("output_value")
|
|
3554
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3555
|
+
|
|
3556
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3557
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3558
|
+
|
|
3559
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3560
|
+
return not (rhs == self)
|
|
3561
|
+
|
|
3562
|
+
def __repr__(self) -> str:
|
|
3563
|
+
return "OutputProperty(%s)" % ", ".join(
|
|
3564
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3565
|
+
)
|
|
3566
|
+
|
|
3408
3567
|
|
|
3409
3568
|
@jsii.data_type(
|
|
3410
3569
|
jsii_type="aws-cdk-lib.aws_cloudformation.CfnStackProps",
|
|
3411
3570
|
jsii_struct_bases=[],
|
|
3412
3571
|
name_mapping={
|
|
3413
|
-
"template_url": "templateUrl",
|
|
3414
3572
|
"notification_arns": "notificationArns",
|
|
3415
3573
|
"parameters": "parameters",
|
|
3416
3574
|
"tags": "tags",
|
|
3575
|
+
"template_url": "templateUrl",
|
|
3417
3576
|
"timeout_in_minutes": "timeoutInMinutes",
|
|
3418
3577
|
},
|
|
3419
3578
|
)
|
|
@@ -3421,18 +3580,18 @@ class CfnStackProps:
|
|
|
3421
3580
|
def __init__(
|
|
3422
3581
|
self,
|
|
3423
3582
|
*,
|
|
3424
|
-
template_url: builtins.str,
|
|
3425
3583
|
notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3426
3584
|
parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
3427
3585
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3586
|
+
template_url: typing.Optional[builtins.str] = None,
|
|
3428
3587
|
timeout_in_minutes: typing.Optional[jsii.Number] = None,
|
|
3429
3588
|
) -> None:
|
|
3430
3589
|
'''Properties for defining a ``CfnStack``.
|
|
3431
3590
|
|
|
3432
|
-
:param template_url: Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket. For more information, see `Template anatomy <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html>`_ . Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
|
|
3433
3591
|
:param notification_arns: The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).
|
|
3434
3592
|
:param parameters: The set value pairs that represent the parameters passed to CloudFormation when this nested stack is created. Each parameter has a name corresponding to a parameter defined in the embedded template and a value representing the value that you want to set for the parameter. .. epigraph:: If you use the ``Ref`` function to pass a parameter value to a nested stack, comma-delimited list parameters must be of type ``String`` . In other words, you can't pass values that are of type ``CommaDelimitedList`` to nested stacks. Conditional. Required if the nested stack requires input parameters. Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
|
|
3435
3593
|
:param tags: Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 50 tags can be specified.
|
|
3594
|
+
:param template_url: Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket. For more information, see `Template anatomy <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html>`_ . Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
|
|
3436
3595
|
:param timeout_in_minutes: The length of time, in minutes, that CloudFormation waits for the nested stack to reach the ``CREATE_COMPLETE`` state. The default is no timeout. When CloudFormation detects that the nested stack has reached the ``CREATE_COMPLETE`` state, it marks the nested stack resource as ``CREATE_COMPLETE`` in the parent stack and resumes creating the parent stack. If the timeout period expires before the nested stack reaches ``CREATE_COMPLETE`` , CloudFormation marks the nested stack as failed and rolls back both the nested stack and parent stack. Updates aren't supported.
|
|
3437
3596
|
|
|
3438
3597
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html
|
|
@@ -3445,9 +3604,6 @@ class CfnStackProps:
|
|
|
3445
3604
|
from aws_cdk import aws_cloudformation as cloudformation
|
|
3446
3605
|
|
|
3447
3606
|
cfn_stack_props = cloudformation.CfnStackProps(
|
|
3448
|
-
template_url="templateUrl",
|
|
3449
|
-
|
|
3450
|
-
# the properties below are optional
|
|
3451
3607
|
notification_arns=["notificationArns"],
|
|
3452
3608
|
parameters={
|
|
3453
3609
|
"parameters_key": "parameters"
|
|
@@ -3456,42 +3612,29 @@ class CfnStackProps:
|
|
|
3456
3612
|
key="key",
|
|
3457
3613
|
value="value"
|
|
3458
3614
|
)],
|
|
3615
|
+
template_url="templateUrl",
|
|
3459
3616
|
timeout_in_minutes=123
|
|
3460
3617
|
)
|
|
3461
3618
|
'''
|
|
3462
3619
|
if __debug__:
|
|
3463
3620
|
type_hints = typing.get_type_hints(_typecheckingstub__4da59ffe076e92fe1011ac29ca869d93a69d1442f3b7a0d1c765cca951d09b20)
|
|
3464
|
-
check_type(argname="argument template_url", value=template_url, expected_type=type_hints["template_url"])
|
|
3465
3621
|
check_type(argname="argument notification_arns", value=notification_arns, expected_type=type_hints["notification_arns"])
|
|
3466
3622
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
3467
3623
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
3624
|
+
check_type(argname="argument template_url", value=template_url, expected_type=type_hints["template_url"])
|
|
3468
3625
|
check_type(argname="argument timeout_in_minutes", value=timeout_in_minutes, expected_type=type_hints["timeout_in_minutes"])
|
|
3469
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3470
|
-
"template_url": template_url,
|
|
3471
|
-
}
|
|
3626
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3472
3627
|
if notification_arns is not None:
|
|
3473
3628
|
self._values["notification_arns"] = notification_arns
|
|
3474
3629
|
if parameters is not None:
|
|
3475
3630
|
self._values["parameters"] = parameters
|
|
3476
3631
|
if tags is not None:
|
|
3477
3632
|
self._values["tags"] = tags
|
|
3633
|
+
if template_url is not None:
|
|
3634
|
+
self._values["template_url"] = template_url
|
|
3478
3635
|
if timeout_in_minutes is not None:
|
|
3479
3636
|
self._values["timeout_in_minutes"] = timeout_in_minutes
|
|
3480
3637
|
|
|
3481
|
-
@builtins.property
|
|
3482
|
-
def template_url(self) -> builtins.str:
|
|
3483
|
-
'''Location of file containing the template body.
|
|
3484
|
-
|
|
3485
|
-
The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket. For more information, see `Template anatomy <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html>`_ .
|
|
3486
|
-
|
|
3487
|
-
Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
|
|
3488
|
-
|
|
3489
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html#cfn-cloudformation-stack-templateurl
|
|
3490
|
-
'''
|
|
3491
|
-
result = self._values.get("template_url")
|
|
3492
|
-
assert result is not None, "Required property 'template_url' is missing"
|
|
3493
|
-
return typing.cast(builtins.str, result)
|
|
3494
|
-
|
|
3495
3638
|
@builtins.property
|
|
3496
3639
|
def notification_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
3497
3640
|
'''The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events.
|
|
@@ -3534,6 +3677,19 @@ class CfnStackProps:
|
|
|
3534
3677
|
result = self._values.get("tags")
|
|
3535
3678
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
3536
3679
|
|
|
3680
|
+
@builtins.property
|
|
3681
|
+
def template_url(self) -> typing.Optional[builtins.str]:
|
|
3682
|
+
'''Location of file containing the template body.
|
|
3683
|
+
|
|
3684
|
+
The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket. For more information, see `Template anatomy <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html>`_ .
|
|
3685
|
+
|
|
3686
|
+
Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
|
|
3687
|
+
|
|
3688
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html#cfn-cloudformation-stack-templateurl
|
|
3689
|
+
'''
|
|
3690
|
+
result = self._values.get("template_url")
|
|
3691
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3692
|
+
|
|
3537
3693
|
@builtins.property
|
|
3538
3694
|
def timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
|
|
3539
3695
|
'''The length of time, in minutes, that CloudFormation waits for the nested stack to reach the ``CREATE_COMPLETE`` state.
|
|
@@ -6556,10 +6712,10 @@ def _typecheckingstub__b03b296829d4f2eb356ceeb892ed7d61908e69c4949bd797def9d9980
|
|
|
6556
6712
|
scope: _constructs_77d1e7e8.Construct,
|
|
6557
6713
|
id: builtins.str,
|
|
6558
6714
|
*,
|
|
6559
|
-
template_url: builtins.str,
|
|
6560
6715
|
notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6561
6716
|
parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
6562
6717
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6718
|
+
template_url: typing.Optional[builtins.str] = None,
|
|
6563
6719
|
timeout_in_minutes: typing.Optional[jsii.Number] = None,
|
|
6564
6720
|
) -> None:
|
|
6565
6721
|
"""Type checking stubs"""
|
|
@@ -6577,12 +6733,6 @@ def _typecheckingstub__6d5f666653aae50479803ed71839253ef19c348c5240cb3bebb449b6e
|
|
|
6577
6733
|
"""Type checking stubs"""
|
|
6578
6734
|
pass
|
|
6579
6735
|
|
|
6580
|
-
def _typecheckingstub__3db469b6ac2b6930a53773a7067f28dcbe494d1c4c0aa67dc9ab276d28d07904(
|
|
6581
|
-
value: builtins.str,
|
|
6582
|
-
) -> None:
|
|
6583
|
-
"""Type checking stubs"""
|
|
6584
|
-
pass
|
|
6585
|
-
|
|
6586
6736
|
def _typecheckingstub__d66d5e1fe390793c13ae8f3762505ddcb7c4e44a03b219a7d65987bc8ac48d68(
|
|
6587
6737
|
value: typing.Optional[typing.List[builtins.str]],
|
|
6588
6738
|
) -> None:
|
|
@@ -6601,18 +6751,34 @@ def _typecheckingstub__3dd6f2b6a16bc08db2d10b1a6eff5f64991fe724d61645874b4235a7f
|
|
|
6601
6751
|
"""Type checking stubs"""
|
|
6602
6752
|
pass
|
|
6603
6753
|
|
|
6754
|
+
def _typecheckingstub__3db469b6ac2b6930a53773a7067f28dcbe494d1c4c0aa67dc9ab276d28d07904(
|
|
6755
|
+
value: typing.Optional[builtins.str],
|
|
6756
|
+
) -> None:
|
|
6757
|
+
"""Type checking stubs"""
|
|
6758
|
+
pass
|
|
6759
|
+
|
|
6604
6760
|
def _typecheckingstub__2c9f0cec1de29739b017def3b496f6e5bf888854e8a565ee7e2a8695868506eb(
|
|
6605
6761
|
value: typing.Optional[jsii.Number],
|
|
6606
6762
|
) -> None:
|
|
6607
6763
|
"""Type checking stubs"""
|
|
6608
6764
|
pass
|
|
6609
6765
|
|
|
6766
|
+
def _typecheckingstub__a4b95d92bea1984ce15e37fa304b047ed771a4f764d414ffac328157423828dc(
|
|
6767
|
+
*,
|
|
6768
|
+
description: typing.Optional[builtins.str] = None,
|
|
6769
|
+
export_name: typing.Optional[builtins.str] = None,
|
|
6770
|
+
output_key: typing.Optional[builtins.str] = None,
|
|
6771
|
+
output_value: typing.Optional[builtins.str] = None,
|
|
6772
|
+
) -> None:
|
|
6773
|
+
"""Type checking stubs"""
|
|
6774
|
+
pass
|
|
6775
|
+
|
|
6610
6776
|
def _typecheckingstub__4da59ffe076e92fe1011ac29ca869d93a69d1442f3b7a0d1c765cca951d09b20(
|
|
6611
6777
|
*,
|
|
6612
|
-
template_url: builtins.str,
|
|
6613
6778
|
notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6614
6779
|
parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
6615
6780
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6781
|
+
template_url: typing.Optional[builtins.str] = None,
|
|
6616
6782
|
timeout_in_minutes: typing.Optional[jsii.Number] = None,
|
|
6617
6783
|
) -> None:
|
|
6618
6784
|
"""Type checking stubs"""
|