aws-cdk-lib 2.181.1__py3-none-any.whl → 2.183.0__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 +751 -41
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.181.1.jsii.tgz → aws-cdk-lib@2.183.0.jsii.tgz} +0 -0
- aws_cdk/assertions/__init__.py +59 -0
- aws_cdk/aws_apigateway/__init__.py +122 -66
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -0
- aws_cdk/aws_appsync/__init__.py +30 -4
- aws_cdk/aws_autoscaling/__init__.py +409 -36
- aws_cdk/aws_batch/__init__.py +638 -14
- aws_cdk/aws_bedrock/__init__.py +6009 -2326
- aws_cdk/aws_ce/__init__.py +141 -3
- aws_cdk/aws_certificatemanager/__init__.py +24 -0
- aws_cdk/aws_cloudformation/__init__.py +310 -35
- aws_cdk/aws_cloudfront/__init__.py +1 -0
- aws_cdk/aws_cloudtrail/__init__.py +8 -8
- aws_cdk/aws_codebuild/__init__.py +4 -10
- aws_cdk/aws_cognito/__init__.py +3 -3
- aws_cdk/aws_datazone/__init__.py +82 -0
- aws_cdk/aws_dms/__init__.py +350 -0
- aws_cdk/aws_ec2/__init__.py +95 -17
- aws_cdk/aws_ecr/__init__.py +10 -4
- aws_cdk/aws_ecs/__init__.py +58 -9
- aws_cdk/aws_eks/__init__.py +32 -3
- aws_cdk/aws_elasticache/__init__.py +3 -3
- aws_cdk/aws_emr/__init__.py +9 -3
- aws_cdk/aws_fsx/__init__.py +2 -0
- aws_cdk/aws_gameliftstreams/__init__.py +1205 -0
- aws_cdk/aws_guardduty/__init__.py +38 -26
- aws_cdk/aws_iam/__init__.py +295 -37
- aws_cdk/aws_inspector/__init__.py +180 -1
- aws_cdk/aws_iot/__init__.py +616 -22
- aws_cdk/aws_iotfleetwise/__init__.py +72 -10
- aws_cdk/aws_iotsitewise/__init__.py +14 -11
- aws_cdk/aws_kafkaconnect/__init__.py +4 -2
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
- aws_cdk/aws_lambda/__init__.py +17 -0
- aws_cdk/aws_logs/__init__.py +135 -0
- aws_cdk/aws_medialive/__init__.py +86 -86
- aws_cdk/aws_mediapackagev2/__init__.py +22 -14
- aws_cdk/aws_msk/__init__.py +236 -128
- aws_cdk/aws_neptunegraph/__init__.py +3 -3
- aws_cdk/aws_opensearchserverless/__init__.py +1031 -0
- aws_cdk/aws_opensearchservice/__init__.py +261 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +30 -4
- aws_cdk/aws_pipes/__init__.py +6 -2
- aws_cdk/aws_quicksight/__init__.py +6712 -20758
- aws_cdk/aws_rds/__init__.py +174 -30
- aws_cdk/aws_redshift/__init__.py +8 -8
- aws_cdk/aws_s3/__init__.py +8 -0
- aws_cdk/aws_sagemaker/__init__.py +80 -18
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_sns/__init__.py +76 -1
- aws_cdk/aws_synthetics/__init__.py +2 -0
- aws_cdk/aws_transfer/__init__.py +241 -40
- aws_cdk/aws_vpclattice/__init__.py +144 -9
- aws_cdk/aws_wafv2/__init__.py +790 -0
- aws_cdk/aws_wisdom/__init__.py +3 -110
- aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
- aws_cdk/aws_workspacesweb/__init__.py +179 -2
- aws_cdk/aws_xray/__init__.py +195 -0
- aws_cdk/cloud_assembly_schema/__init__.py +224 -4
- aws_cdk/custom_resources/__init__.py +65 -8
- aws_cdk/cx_api/__init__.py +2 -1
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/RECORD +69 -68
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/top_level.txt +0 -0
|
@@ -316,6 +316,13 @@ class CfnGuardHook(
|
|
|
316
316
|
)
|
|
317
317
|
),
|
|
318
318
|
target_filters=cloudformation.CfnGuardHook.TargetFiltersProperty(
|
|
319
|
+
targets=[cloudformation.CfnGuardHook.HookTargetProperty(
|
|
320
|
+
action="action",
|
|
321
|
+
invocation_point="invocationPoint",
|
|
322
|
+
target_name="targetName"
|
|
323
|
+
)],
|
|
324
|
+
|
|
325
|
+
# the properties below are optional
|
|
319
326
|
actions=["actions"],
|
|
320
327
|
invocation_points=["invocationPoints"],
|
|
321
328
|
target_names=["targetNames"]
|
|
@@ -569,6 +576,98 @@ class CfnGuardHook(
|
|
|
569
576
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
570
577
|
jsii.set(self, "targetFilters", value) # pyright: ignore[reportArgumentType]
|
|
571
578
|
|
|
579
|
+
@jsii.data_type(
|
|
580
|
+
jsii_type="aws-cdk-lib.aws_cloudformation.CfnGuardHook.HookTargetProperty",
|
|
581
|
+
jsii_struct_bases=[],
|
|
582
|
+
name_mapping={
|
|
583
|
+
"action": "action",
|
|
584
|
+
"invocation_point": "invocationPoint",
|
|
585
|
+
"target_name": "targetName",
|
|
586
|
+
},
|
|
587
|
+
)
|
|
588
|
+
class HookTargetProperty:
|
|
589
|
+
def __init__(
|
|
590
|
+
self,
|
|
591
|
+
*,
|
|
592
|
+
action: builtins.str,
|
|
593
|
+
invocation_point: builtins.str,
|
|
594
|
+
target_name: builtins.str,
|
|
595
|
+
) -> None:
|
|
596
|
+
'''Hook targets are the destination where hooks will be invoked against.
|
|
597
|
+
|
|
598
|
+
:param action: Target actions are the type of operation hooks will be executed at.
|
|
599
|
+
:param invocation_point: Invocation points are the point in provisioning workflow where hooks will be executed.
|
|
600
|
+
:param target_name: Type name of hook target. Hook targets are the destination where hooks will be invoked against.
|
|
601
|
+
|
|
602
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html
|
|
603
|
+
:exampleMetadata: fixture=_generated
|
|
604
|
+
|
|
605
|
+
Example::
|
|
606
|
+
|
|
607
|
+
# The code below shows an example of how to instantiate this type.
|
|
608
|
+
# The values are placeholders you should change.
|
|
609
|
+
from aws_cdk import aws_cloudformation as cloudformation
|
|
610
|
+
|
|
611
|
+
hook_target_property = cloudformation.CfnGuardHook.HookTargetProperty(
|
|
612
|
+
action="action",
|
|
613
|
+
invocation_point="invocationPoint",
|
|
614
|
+
target_name="targetName"
|
|
615
|
+
)
|
|
616
|
+
'''
|
|
617
|
+
if __debug__:
|
|
618
|
+
type_hints = typing.get_type_hints(_typecheckingstub__75d10faed01d259a75abfd83308e4f5f99124946f274bb8e8b5c92b0383d91c2)
|
|
619
|
+
check_type(argname="argument action", value=action, expected_type=type_hints["action"])
|
|
620
|
+
check_type(argname="argument invocation_point", value=invocation_point, expected_type=type_hints["invocation_point"])
|
|
621
|
+
check_type(argname="argument target_name", value=target_name, expected_type=type_hints["target_name"])
|
|
622
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
623
|
+
"action": action,
|
|
624
|
+
"invocation_point": invocation_point,
|
|
625
|
+
"target_name": target_name,
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
@builtins.property
|
|
629
|
+
def action(self) -> builtins.str:
|
|
630
|
+
'''Target actions are the type of operation hooks will be executed at.
|
|
631
|
+
|
|
632
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html#cfn-cloudformation-guardhook-hooktarget-action
|
|
633
|
+
'''
|
|
634
|
+
result = self._values.get("action")
|
|
635
|
+
assert result is not None, "Required property 'action' is missing"
|
|
636
|
+
return typing.cast(builtins.str, result)
|
|
637
|
+
|
|
638
|
+
@builtins.property
|
|
639
|
+
def invocation_point(self) -> builtins.str:
|
|
640
|
+
'''Invocation points are the point in provisioning workflow where hooks will be executed.
|
|
641
|
+
|
|
642
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html#cfn-cloudformation-guardhook-hooktarget-invocationpoint
|
|
643
|
+
'''
|
|
644
|
+
result = self._values.get("invocation_point")
|
|
645
|
+
assert result is not None, "Required property 'invocation_point' is missing"
|
|
646
|
+
return typing.cast(builtins.str, result)
|
|
647
|
+
|
|
648
|
+
@builtins.property
|
|
649
|
+
def target_name(self) -> builtins.str:
|
|
650
|
+
'''Type name of hook target.
|
|
651
|
+
|
|
652
|
+
Hook targets are the destination where hooks will be invoked against.
|
|
653
|
+
|
|
654
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html#cfn-cloudformation-guardhook-hooktarget-targetname
|
|
655
|
+
'''
|
|
656
|
+
result = self._values.get("target_name")
|
|
657
|
+
assert result is not None, "Required property 'target_name' is missing"
|
|
658
|
+
return typing.cast(builtins.str, result)
|
|
659
|
+
|
|
660
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
661
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
662
|
+
|
|
663
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
664
|
+
return not (rhs == self)
|
|
665
|
+
|
|
666
|
+
def __repr__(self) -> str:
|
|
667
|
+
return "HookTargetProperty(%s)" % ", ".join(
|
|
668
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
669
|
+
)
|
|
670
|
+
|
|
572
671
|
@jsii.data_type(
|
|
573
672
|
jsii_type="aws-cdk-lib.aws_cloudformation.CfnGuardHook.OptionsProperty",
|
|
574
673
|
jsii_struct_bases=[],
|
|
@@ -977,6 +1076,7 @@ class CfnGuardHook(
|
|
|
977
1076
|
jsii_type="aws-cdk-lib.aws_cloudformation.CfnGuardHook.TargetFiltersProperty",
|
|
978
1077
|
jsii_struct_bases=[],
|
|
979
1078
|
name_mapping={
|
|
1079
|
+
"targets": "targets",
|
|
980
1080
|
"actions": "actions",
|
|
981
1081
|
"invocation_points": "invocationPoints",
|
|
982
1082
|
"target_names": "targetNames",
|
|
@@ -986,6 +1086,7 @@ class CfnGuardHook(
|
|
|
986
1086
|
def __init__(
|
|
987
1087
|
self,
|
|
988
1088
|
*,
|
|
1089
|
+
targets: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGuardHook.HookTargetProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
989
1090
|
actions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
990
1091
|
invocation_points: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
991
1092
|
target_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -994,6 +1095,7 @@ class CfnGuardHook(
|
|
|
994
1095
|
|
|
995
1096
|
For more information, see `AWS CloudFormation Hook target filters <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-target-filtering.html>`_ .
|
|
996
1097
|
|
|
1098
|
+
:param targets: List of hook targets.
|
|
997
1099
|
:param actions: List of actions that the hook is going to target.
|
|
998
1100
|
:param invocation_points: List of invocation points that the hook is going to target.
|
|
999
1101
|
:param target_names: List of type names that the hook is going to target.
|
|
@@ -1008,6 +1110,13 @@ class CfnGuardHook(
|
|
|
1008
1110
|
from aws_cdk import aws_cloudformation as cloudformation
|
|
1009
1111
|
|
|
1010
1112
|
target_filters_property = cloudformation.CfnGuardHook.TargetFiltersProperty(
|
|
1113
|
+
targets=[cloudformation.CfnGuardHook.HookTargetProperty(
|
|
1114
|
+
action="action",
|
|
1115
|
+
invocation_point="invocationPoint",
|
|
1116
|
+
target_name="targetName"
|
|
1117
|
+
)],
|
|
1118
|
+
|
|
1119
|
+
# the properties below are optional
|
|
1011
1120
|
actions=["actions"],
|
|
1012
1121
|
invocation_points=["invocationPoints"],
|
|
1013
1122
|
target_names=["targetNames"]
|
|
@@ -1015,10 +1124,13 @@ class CfnGuardHook(
|
|
|
1015
1124
|
'''
|
|
1016
1125
|
if __debug__:
|
|
1017
1126
|
type_hints = typing.get_type_hints(_typecheckingstub__378b3973374e7523256c5da2187494f5d2cfb4d85e28b4cc20e0b03edb7a4395)
|
|
1127
|
+
check_type(argname="argument targets", value=targets, expected_type=type_hints["targets"])
|
|
1018
1128
|
check_type(argname="argument actions", value=actions, expected_type=type_hints["actions"])
|
|
1019
1129
|
check_type(argname="argument invocation_points", value=invocation_points, expected_type=type_hints["invocation_points"])
|
|
1020
1130
|
check_type(argname="argument target_names", value=target_names, expected_type=type_hints["target_names"])
|
|
1021
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1131
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1132
|
+
"targets": targets,
|
|
1133
|
+
}
|
|
1022
1134
|
if actions is not None:
|
|
1023
1135
|
self._values["actions"] = actions
|
|
1024
1136
|
if invocation_points is not None:
|
|
@@ -1026,6 +1138,18 @@ class CfnGuardHook(
|
|
|
1026
1138
|
if target_names is not None:
|
|
1027
1139
|
self._values["target_names"] = target_names
|
|
1028
1140
|
|
|
1141
|
+
@builtins.property
|
|
1142
|
+
def targets(
|
|
1143
|
+
self,
|
|
1144
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnGuardHook.HookTargetProperty"]]]:
|
|
1145
|
+
'''List of hook targets.
|
|
1146
|
+
|
|
1147
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-targetfilters.html#cfn-cloudformation-guardhook-targetfilters-targets
|
|
1148
|
+
'''
|
|
1149
|
+
result = self._values.get("targets")
|
|
1150
|
+
assert result is not None, "Required property 'targets' is missing"
|
|
1151
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnGuardHook.HookTargetProperty"]]], result)
|
|
1152
|
+
|
|
1029
1153
|
@builtins.property
|
|
1030
1154
|
def actions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1031
1155
|
'''List of actions that the hook is going to target.
|
|
@@ -1155,6 +1279,13 @@ class CfnGuardHookProps:
|
|
|
1155
1279
|
)
|
|
1156
1280
|
),
|
|
1157
1281
|
target_filters=cloudformation.CfnGuardHook.TargetFiltersProperty(
|
|
1282
|
+
targets=[cloudformation.CfnGuardHook.HookTargetProperty(
|
|
1283
|
+
action="action",
|
|
1284
|
+
invocation_point="invocationPoint",
|
|
1285
|
+
target_name="targetName"
|
|
1286
|
+
)],
|
|
1287
|
+
|
|
1288
|
+
# the properties below are optional
|
|
1158
1289
|
actions=["actions"],
|
|
1159
1290
|
invocation_points=["invocationPoints"],
|
|
1160
1291
|
target_names=["targetNames"]
|
|
@@ -2311,6 +2442,13 @@ class CfnLambdaHook(
|
|
|
2311
2442
|
)
|
|
2312
2443
|
),
|
|
2313
2444
|
target_filters=cloudformation.CfnLambdaHook.TargetFiltersProperty(
|
|
2445
|
+
targets=[cloudformation.CfnLambdaHook.HookTargetProperty(
|
|
2446
|
+
action="action",
|
|
2447
|
+
invocation_point="invocationPoint",
|
|
2448
|
+
target_name="targetName"
|
|
2449
|
+
)],
|
|
2450
|
+
|
|
2451
|
+
# the properties below are optional
|
|
2314
2452
|
actions=["actions"],
|
|
2315
2453
|
invocation_points=["invocationPoints"],
|
|
2316
2454
|
target_names=["targetNames"]
|
|
@@ -2525,6 +2663,98 @@ class CfnLambdaHook(
|
|
|
2525
2663
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2526
2664
|
jsii.set(self, "targetFilters", value) # pyright: ignore[reportArgumentType]
|
|
2527
2665
|
|
|
2666
|
+
@jsii.data_type(
|
|
2667
|
+
jsii_type="aws-cdk-lib.aws_cloudformation.CfnLambdaHook.HookTargetProperty",
|
|
2668
|
+
jsii_struct_bases=[],
|
|
2669
|
+
name_mapping={
|
|
2670
|
+
"action": "action",
|
|
2671
|
+
"invocation_point": "invocationPoint",
|
|
2672
|
+
"target_name": "targetName",
|
|
2673
|
+
},
|
|
2674
|
+
)
|
|
2675
|
+
class HookTargetProperty:
|
|
2676
|
+
def __init__(
|
|
2677
|
+
self,
|
|
2678
|
+
*,
|
|
2679
|
+
action: builtins.str,
|
|
2680
|
+
invocation_point: builtins.str,
|
|
2681
|
+
target_name: builtins.str,
|
|
2682
|
+
) -> None:
|
|
2683
|
+
'''Hook targets are the destination where hooks will be invoked against.
|
|
2684
|
+
|
|
2685
|
+
:param action: Target actions are the type of operation hooks will be executed at.
|
|
2686
|
+
:param invocation_point: Invocation points are the point in provisioning workflow where hooks will be executed.
|
|
2687
|
+
:param target_name: Type name of hook target. Hook targets are the destination where hooks will be invoked against.
|
|
2688
|
+
|
|
2689
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html
|
|
2690
|
+
:exampleMetadata: fixture=_generated
|
|
2691
|
+
|
|
2692
|
+
Example::
|
|
2693
|
+
|
|
2694
|
+
# The code below shows an example of how to instantiate this type.
|
|
2695
|
+
# The values are placeholders you should change.
|
|
2696
|
+
from aws_cdk import aws_cloudformation as cloudformation
|
|
2697
|
+
|
|
2698
|
+
hook_target_property = cloudformation.CfnLambdaHook.HookTargetProperty(
|
|
2699
|
+
action="action",
|
|
2700
|
+
invocation_point="invocationPoint",
|
|
2701
|
+
target_name="targetName"
|
|
2702
|
+
)
|
|
2703
|
+
'''
|
|
2704
|
+
if __debug__:
|
|
2705
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8bb2b3786e42dc7c05244eb8055bbfbc3f7406193d5d1992ac9505fe3aa580e2)
|
|
2706
|
+
check_type(argname="argument action", value=action, expected_type=type_hints["action"])
|
|
2707
|
+
check_type(argname="argument invocation_point", value=invocation_point, expected_type=type_hints["invocation_point"])
|
|
2708
|
+
check_type(argname="argument target_name", value=target_name, expected_type=type_hints["target_name"])
|
|
2709
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2710
|
+
"action": action,
|
|
2711
|
+
"invocation_point": invocation_point,
|
|
2712
|
+
"target_name": target_name,
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
@builtins.property
|
|
2716
|
+
def action(self) -> builtins.str:
|
|
2717
|
+
'''Target actions are the type of operation hooks will be executed at.
|
|
2718
|
+
|
|
2719
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html#cfn-cloudformation-lambdahook-hooktarget-action
|
|
2720
|
+
'''
|
|
2721
|
+
result = self._values.get("action")
|
|
2722
|
+
assert result is not None, "Required property 'action' is missing"
|
|
2723
|
+
return typing.cast(builtins.str, result)
|
|
2724
|
+
|
|
2725
|
+
@builtins.property
|
|
2726
|
+
def invocation_point(self) -> builtins.str:
|
|
2727
|
+
'''Invocation points are the point in provisioning workflow where hooks will be executed.
|
|
2728
|
+
|
|
2729
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html#cfn-cloudformation-lambdahook-hooktarget-invocationpoint
|
|
2730
|
+
'''
|
|
2731
|
+
result = self._values.get("invocation_point")
|
|
2732
|
+
assert result is not None, "Required property 'invocation_point' is missing"
|
|
2733
|
+
return typing.cast(builtins.str, result)
|
|
2734
|
+
|
|
2735
|
+
@builtins.property
|
|
2736
|
+
def target_name(self) -> builtins.str:
|
|
2737
|
+
'''Type name of hook target.
|
|
2738
|
+
|
|
2739
|
+
Hook targets are the destination where hooks will be invoked against.
|
|
2740
|
+
|
|
2741
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html#cfn-cloudformation-lambdahook-hooktarget-targetname
|
|
2742
|
+
'''
|
|
2743
|
+
result = self._values.get("target_name")
|
|
2744
|
+
assert result is not None, "Required property 'target_name' is missing"
|
|
2745
|
+
return typing.cast(builtins.str, result)
|
|
2746
|
+
|
|
2747
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2748
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2749
|
+
|
|
2750
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2751
|
+
return not (rhs == self)
|
|
2752
|
+
|
|
2753
|
+
def __repr__(self) -> str:
|
|
2754
|
+
return "HookTargetProperty(%s)" % ", ".join(
|
|
2755
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2756
|
+
)
|
|
2757
|
+
|
|
2528
2758
|
@jsii.data_type(
|
|
2529
2759
|
jsii_type="aws-cdk-lib.aws_cloudformation.CfnLambdaHook.StackFiltersProperty",
|
|
2530
2760
|
jsii_struct_bases=[],
|
|
@@ -2792,6 +3022,7 @@ class CfnLambdaHook(
|
|
|
2792
3022
|
jsii_type="aws-cdk-lib.aws_cloudformation.CfnLambdaHook.TargetFiltersProperty",
|
|
2793
3023
|
jsii_struct_bases=[],
|
|
2794
3024
|
name_mapping={
|
|
3025
|
+
"targets": "targets",
|
|
2795
3026
|
"actions": "actions",
|
|
2796
3027
|
"invocation_points": "invocationPoints",
|
|
2797
3028
|
"target_names": "targetNames",
|
|
@@ -2801,6 +3032,7 @@ class CfnLambdaHook(
|
|
|
2801
3032
|
def __init__(
|
|
2802
3033
|
self,
|
|
2803
3034
|
*,
|
|
3035
|
+
targets: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLambdaHook.HookTargetProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
2804
3036
|
actions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2805
3037
|
invocation_points: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2806
3038
|
target_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2809,6 +3041,7 @@ class CfnLambdaHook(
|
|
|
2809
3041
|
|
|
2810
3042
|
For more information, see `AWS CloudFormation Hook target filters <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-target-filtering.html>`_ .
|
|
2811
3043
|
|
|
3044
|
+
:param targets: List of hook targets.
|
|
2812
3045
|
:param actions: List of actions that the hook is going to target.
|
|
2813
3046
|
:param invocation_points: List of invocation points that the hook is going to target.
|
|
2814
3047
|
:param target_names: List of type names that the hook is going to target.
|
|
@@ -2823,6 +3056,13 @@ class CfnLambdaHook(
|
|
|
2823
3056
|
from aws_cdk import aws_cloudformation as cloudformation
|
|
2824
3057
|
|
|
2825
3058
|
target_filters_property = cloudformation.CfnLambdaHook.TargetFiltersProperty(
|
|
3059
|
+
targets=[cloudformation.CfnLambdaHook.HookTargetProperty(
|
|
3060
|
+
action="action",
|
|
3061
|
+
invocation_point="invocationPoint",
|
|
3062
|
+
target_name="targetName"
|
|
3063
|
+
)],
|
|
3064
|
+
|
|
3065
|
+
# the properties below are optional
|
|
2826
3066
|
actions=["actions"],
|
|
2827
3067
|
invocation_points=["invocationPoints"],
|
|
2828
3068
|
target_names=["targetNames"]
|
|
@@ -2830,10 +3070,13 @@ class CfnLambdaHook(
|
|
|
2830
3070
|
'''
|
|
2831
3071
|
if __debug__:
|
|
2832
3072
|
type_hints = typing.get_type_hints(_typecheckingstub__6b7d133718b35659d76ef50f7b0d36492c3da19aa89cd0ec0d90af415b1383ba)
|
|
3073
|
+
check_type(argname="argument targets", value=targets, expected_type=type_hints["targets"])
|
|
2833
3074
|
check_type(argname="argument actions", value=actions, expected_type=type_hints["actions"])
|
|
2834
3075
|
check_type(argname="argument invocation_points", value=invocation_points, expected_type=type_hints["invocation_points"])
|
|
2835
3076
|
check_type(argname="argument target_names", value=target_names, expected_type=type_hints["target_names"])
|
|
2836
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3077
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3078
|
+
"targets": targets,
|
|
3079
|
+
}
|
|
2837
3080
|
if actions is not None:
|
|
2838
3081
|
self._values["actions"] = actions
|
|
2839
3082
|
if invocation_points is not None:
|
|
@@ -2841,6 +3084,18 @@ class CfnLambdaHook(
|
|
|
2841
3084
|
if target_names is not None:
|
|
2842
3085
|
self._values["target_names"] = target_names
|
|
2843
3086
|
|
|
3087
|
+
@builtins.property
|
|
3088
|
+
def targets(
|
|
3089
|
+
self,
|
|
3090
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLambdaHook.HookTargetProperty"]]]:
|
|
3091
|
+
'''List of hook targets.
|
|
3092
|
+
|
|
3093
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-targetfilters.html#cfn-cloudformation-lambdahook-targetfilters-targets
|
|
3094
|
+
'''
|
|
3095
|
+
result = self._values.get("targets")
|
|
3096
|
+
assert result is not None, "Required property 'targets' is missing"
|
|
3097
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLambdaHook.HookTargetProperty"]]], result)
|
|
3098
|
+
|
|
2844
3099
|
@builtins.property
|
|
2845
3100
|
def actions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2846
3101
|
'''List of actions that the hook is going to target.
|
|
@@ -2950,6 +3205,13 @@ class CfnLambdaHookProps:
|
|
|
2950
3205
|
)
|
|
2951
3206
|
),
|
|
2952
3207
|
target_filters=cloudformation.CfnLambdaHook.TargetFiltersProperty(
|
|
3208
|
+
targets=[cloudformation.CfnLambdaHook.HookTargetProperty(
|
|
3209
|
+
action="action",
|
|
3210
|
+
invocation_point="invocationPoint",
|
|
3211
|
+
target_name="targetName"
|
|
3212
|
+
)],
|
|
3213
|
+
|
|
3214
|
+
# the properties below are optional
|
|
2953
3215
|
actions=["actions"],
|
|
2954
3216
|
invocation_points=["invocationPoints"],
|
|
2955
3217
|
target_names=["targetNames"]
|
|
@@ -5271,7 +5533,7 @@ class CfnStack(
|
|
|
5271
5533
|
:param scope: Scope in which this resource is defined.
|
|
5272
5534
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5273
5535
|
:param notification_arns: The 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).
|
|
5274
|
-
: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.
|
|
5536
|
+
: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. 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.
|
|
5275
5537
|
:param tags: Key-value pairs to associate with this stack. CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 50 tags can be specified.
|
|
5276
5538
|
:param template_url: The URL of a file containing the template body. The URL must point to a template (max size: 1 MB) that's located in an Amazon S3 bucket. The location for an Amazon S3 bucket must start with ``https://`` . Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
|
|
5277
5539
|
: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.
|
|
@@ -5610,7 +5872,7 @@ class CfnStackProps:
|
|
|
5610
5872
|
'''Properties for defining a ``CfnStack``.
|
|
5611
5873
|
|
|
5612
5874
|
:param notification_arns: The 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).
|
|
5613
|
-
: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.
|
|
5875
|
+
: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. 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.
|
|
5614
5876
|
:param tags: Key-value pairs to associate with this stack. CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 50 tags can be specified.
|
|
5615
5877
|
:param template_url: The URL of a file containing the template body. The URL must point to a template (max size: 1 MB) that's located in an Amazon S3 bucket. The location for an Amazon S3 bucket must start with ``https://`` . Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
|
|
5616
5878
|
: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.
|
|
@@ -5678,7 +5940,7 @@ class CfnStackProps:
|
|
|
5678
5940
|
|
|
5679
5941
|
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.
|
|
5680
5942
|
|
|
5681
|
-
|
|
5943
|
+
Required if the nested stack requires input parameters.
|
|
5682
5944
|
|
|
5683
5945
|
Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
|
|
5684
5946
|
|
|
@@ -5838,13 +6100,13 @@ class CfnStackSet(
|
|
|
5838
6100
|
:param scope: Scope in which this resource is defined.
|
|
5839
6101
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5840
6102
|
:param permission_model: Describes how the IAM roles required for stack set operations are created. - With ``SELF_MANAGED`` permissions, you must create the administrator and execution roles required to deploy to target accounts. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . - With ``SERVICE_MANAGED`` permissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by AWS Organizations . For more information, see `Activate trusted access for stack sets with AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html>`_ in the *AWS CloudFormation User Guide* .
|
|
5841
|
-
:param stack_set_name: The name to associate with the stack set. The name must be unique in the Region where you create your stack set.
|
|
5842
|
-
:param administration_role_arn: The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* .
|
|
5843
|
-
:param auto_deployment:
|
|
5844
|
-
:param call_as:
|
|
6103
|
+
:param stack_set_name: The name to associate with the stack set. The name must be unique in the Region where you create your stack set.
|
|
6104
|
+
:param administration_role_arn: The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . Valid only if the permissions model is ``SELF_MANAGED`` .
|
|
6105
|
+
:param auto_deployment: Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see `Manage automatic deployments for CloudFormation StackSets that use service-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html>`_ in the *AWS CloudFormation User Guide* . Required if the permissions model is ``SERVICE_MANAGED`` . (Not used with self-managed permissions.)
|
|
6106
|
+
:param call_as: Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, ``SELF`` is specified. Use ``SELF`` for stack sets with self-managed permissions. - To create a stack set with service-managed permissions while signed in to the management account, specify ``SELF`` . - To create a stack set with service-managed permissions while signed in to a delegated administrator account, specify ``DELEGATED_ADMIN`` . Your AWS account must be registered as a delegated admin in the management account. For more information, see `Register a delegated administrator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html>`_ in the *AWS CloudFormation User Guide* . Stack sets with service-managed permissions are created in the management account, including stack sets that are created by delegated administrators. Valid only if the permissions model is ``SERVICE_MANAGED`` .
|
|
5845
6107
|
:param capabilities: The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your AWS account —for example, by creating new IAM users. For more information, see `Acknowledging IAM resources in CloudFormation templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities>`_ in the *AWS CloudFormation User Guide* .
|
|
5846
|
-
:param description: A description of the stack set.
|
|
5847
|
-
:param execution_role_name: The name of the IAM execution role to use to create the stack set. If you don't specify an execution role, CloudFormation uses the ``AWSCloudFormationStackSetExecutionRole`` role for the stack set operation.
|
|
6108
|
+
:param description: A description of the stack set.
|
|
6109
|
+
:param execution_role_name: The name of the IAM execution role to use to create the stack set. If you don't specify an execution role, CloudFormation uses the ``AWSCloudFormationStackSetExecutionRole`` role for the stack set operation. Valid only if the permissions model is ``SELF_MANAGED`` . *Pattern* : ``[a-zA-Z_0-9+=,.@-]+``
|
|
5848
6110
|
:param managed_execution: Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations. When active, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order. .. epigraph:: If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting. You can't modify your stack set's execution configuration while there are running or queued operations for that stack set. When inactive (default), StackSets performs one operation at a time in request order.
|
|
5849
6111
|
:param operation_preferences: The user-specified preferences for how CloudFormation performs a stack set operation.
|
|
5850
6112
|
:param parameters: The input parameters for the stack set template.
|
|
@@ -5971,7 +6233,7 @@ class CfnStackSet(
|
|
|
5971
6233
|
def auto_deployment(
|
|
5972
6234
|
self,
|
|
5973
6235
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStackSet.AutoDeploymentProperty"]]:
|
|
5974
|
-
'''
|
|
6236
|
+
'''Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU).'''
|
|
5975
6237
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStackSet.AutoDeploymentProperty"]], jsii.get(self, "autoDeployment"))
|
|
5976
6238
|
|
|
5977
6239
|
@auto_deployment.setter
|
|
@@ -5987,7 +6249,7 @@ class CfnStackSet(
|
|
|
5987
6249
|
@builtins.property
|
|
5988
6250
|
@jsii.member(jsii_name="callAs")
|
|
5989
6251
|
def call_as(self) -> typing.Optional[builtins.str]:
|
|
5990
|
-
'''
|
|
6252
|
+
'''Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.'''
|
|
5991
6253
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "callAs"))
|
|
5992
6254
|
|
|
5993
6255
|
@call_as.setter
|
|
@@ -6820,13 +7082,13 @@ class CfnStackSetProps:
|
|
|
6820
7082
|
'''Properties for defining a ``CfnStackSet``.
|
|
6821
7083
|
|
|
6822
7084
|
:param permission_model: Describes how the IAM roles required for stack set operations are created. - With ``SELF_MANAGED`` permissions, you must create the administrator and execution roles required to deploy to target accounts. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . - With ``SERVICE_MANAGED`` permissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by AWS Organizations . For more information, see `Activate trusted access for stack sets with AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html>`_ in the *AWS CloudFormation User Guide* .
|
|
6823
|
-
:param stack_set_name: The name to associate with the stack set. The name must be unique in the Region where you create your stack set.
|
|
6824
|
-
:param administration_role_arn: The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* .
|
|
6825
|
-
:param auto_deployment:
|
|
6826
|
-
:param call_as:
|
|
7085
|
+
:param stack_set_name: The name to associate with the stack set. The name must be unique in the Region where you create your stack set.
|
|
7086
|
+
:param administration_role_arn: The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . Valid only if the permissions model is ``SELF_MANAGED`` .
|
|
7087
|
+
:param auto_deployment: Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see `Manage automatic deployments for CloudFormation StackSets that use service-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html>`_ in the *AWS CloudFormation User Guide* . Required if the permissions model is ``SERVICE_MANAGED`` . (Not used with self-managed permissions.)
|
|
7088
|
+
:param call_as: Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, ``SELF`` is specified. Use ``SELF`` for stack sets with self-managed permissions. - To create a stack set with service-managed permissions while signed in to the management account, specify ``SELF`` . - To create a stack set with service-managed permissions while signed in to a delegated administrator account, specify ``DELEGATED_ADMIN`` . Your AWS account must be registered as a delegated admin in the management account. For more information, see `Register a delegated administrator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html>`_ in the *AWS CloudFormation User Guide* . Stack sets with service-managed permissions are created in the management account, including stack sets that are created by delegated administrators. Valid only if the permissions model is ``SERVICE_MANAGED`` .
|
|
6827
7089
|
:param capabilities: The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your AWS account —for example, by creating new IAM users. For more information, see `Acknowledging IAM resources in CloudFormation templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities>`_ in the *AWS CloudFormation User Guide* .
|
|
6828
|
-
:param description: A description of the stack set.
|
|
6829
|
-
:param execution_role_name: The name of the IAM execution role to use to create the stack set. If you don't specify an execution role, CloudFormation uses the ``AWSCloudFormationStackSetExecutionRole`` role for the stack set operation.
|
|
7090
|
+
:param description: A description of the stack set.
|
|
7091
|
+
:param execution_role_name: The name of the IAM execution role to use to create the stack set. If you don't specify an execution role, CloudFormation uses the ``AWSCloudFormationStackSetExecutionRole`` role for the stack set operation. Valid only if the permissions model is ``SELF_MANAGED`` . *Pattern* : ``[a-zA-Z_0-9+=,.@-]+``
|
|
6830
7092
|
:param managed_execution: Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations. When active, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order. .. epigraph:: If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting. You can't modify your stack set's execution configuration while there are running or queued operations for that stack set. When inactive (default), StackSets performs one operation at a time in request order.
|
|
6831
7093
|
:param operation_preferences: The user-specified preferences for how CloudFormation performs a stack set operation.
|
|
6832
7094
|
:param parameters: The input parameters for the stack set template.
|
|
@@ -6963,9 +7225,6 @@ class CfnStackSetProps:
|
|
|
6963
7225
|
'''The name to associate with the stack set.
|
|
6964
7226
|
|
|
6965
7227
|
The name must be unique in the Region where you create your stack set.
|
|
6966
|
-
.. epigraph::
|
|
6967
|
-
|
|
6968
|
-
The ``StackSetName`` property is required.
|
|
6969
7228
|
|
|
6970
7229
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stackset.html#cfn-cloudformation-stackset-stacksetname
|
|
6971
7230
|
'''
|
|
@@ -6981,9 +7240,7 @@ class CfnStackSetProps:
|
|
|
6981
7240
|
|
|
6982
7241
|
Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* .
|
|
6983
7242
|
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
*Maximum* : ``2048``
|
|
7243
|
+
Valid only if the permissions model is ``SELF_MANAGED`` .
|
|
6987
7244
|
|
|
6988
7245
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stackset.html#cfn-cloudformation-stackset-administrationrolearn
|
|
6989
7246
|
'''
|
|
@@ -6994,7 +7251,11 @@ class CfnStackSetProps:
|
|
|
6994
7251
|
def auto_deployment(
|
|
6995
7252
|
self,
|
|
6996
7253
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStackSet.AutoDeploymentProperty]]:
|
|
6997
|
-
'''
|
|
7254
|
+
'''Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU).
|
|
7255
|
+
|
|
7256
|
+
For more information, see `Manage automatic deployments for CloudFormation StackSets that use service-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html>`_ in the *AWS CloudFormation User Guide* .
|
|
7257
|
+
|
|
7258
|
+
Required if the permissions model is ``SERVICE_MANAGED`` . (Not used with self-managed permissions.)
|
|
6998
7259
|
|
|
6999
7260
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stackset.html#cfn-cloudformation-stackset-autodeployment
|
|
7000
7261
|
'''
|
|
@@ -7003,7 +7264,7 @@ class CfnStackSetProps:
|
|
|
7003
7264
|
|
|
7004
7265
|
@builtins.property
|
|
7005
7266
|
def call_as(self) -> typing.Optional[builtins.str]:
|
|
7006
|
-
'''
|
|
7267
|
+
'''Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
|
|
7007
7268
|
|
|
7008
7269
|
By default, ``SELF`` is specified. Use ``SELF`` for stack sets with self-managed permissions.
|
|
7009
7270
|
|
|
@@ -7014,7 +7275,7 @@ class CfnStackSetProps:
|
|
|
7014
7275
|
|
|
7015
7276
|
Stack sets with service-managed permissions are created in the management account, including stack sets that are created by delegated administrators.
|
|
7016
7277
|
|
|
7017
|
-
|
|
7278
|
+
Valid only if the permissions model is ``SERVICE_MANAGED`` .
|
|
7018
7279
|
|
|
7019
7280
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stackset.html#cfn-cloudformation-stackset-callas
|
|
7020
7281
|
'''
|
|
@@ -7036,10 +7297,6 @@ class CfnStackSetProps:
|
|
|
7036
7297
|
def description(self) -> typing.Optional[builtins.str]:
|
|
7037
7298
|
'''A description of the stack set.
|
|
7038
7299
|
|
|
7039
|
-
*Minimum* : ``1``
|
|
7040
|
-
|
|
7041
|
-
*Maximum* : ``1024``
|
|
7042
|
-
|
|
7043
7300
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stackset.html#cfn-cloudformation-stackset-description
|
|
7044
7301
|
'''
|
|
7045
7302
|
result = self._values.get("description")
|
|
@@ -7051,9 +7308,7 @@ class CfnStackSetProps:
|
|
|
7051
7308
|
|
|
7052
7309
|
If you don't specify an execution role, CloudFormation uses the ``AWSCloudFormationStackSetExecutionRole`` role for the stack set operation.
|
|
7053
7310
|
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
*Maximum* : ``64``
|
|
7311
|
+
Valid only if the permissions model is ``SELF_MANAGED`` .
|
|
7057
7312
|
|
|
7058
7313
|
*Pattern* : ``[a-zA-Z_0-9+=,.@-]+``
|
|
7059
7314
|
|
|
@@ -8276,6 +8531,15 @@ def _typecheckingstub__c81e70f0acb044921c8947467f93bf3568ecf5bceb007dbfd1211e597
|
|
|
8276
8531
|
"""Type checking stubs"""
|
|
8277
8532
|
pass
|
|
8278
8533
|
|
|
8534
|
+
def _typecheckingstub__75d10faed01d259a75abfd83308e4f5f99124946f274bb8e8b5c92b0383d91c2(
|
|
8535
|
+
*,
|
|
8536
|
+
action: builtins.str,
|
|
8537
|
+
invocation_point: builtins.str,
|
|
8538
|
+
target_name: builtins.str,
|
|
8539
|
+
) -> None:
|
|
8540
|
+
"""Type checking stubs"""
|
|
8541
|
+
pass
|
|
8542
|
+
|
|
8279
8543
|
def _typecheckingstub__9b598c3b73355c67dcc3aa78319cd2f0d94b1f77b3311af71cc07b20334e0eca(
|
|
8280
8544
|
*,
|
|
8281
8545
|
input_params: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGuardHook.S3LocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -8318,6 +8582,7 @@ def _typecheckingstub__19a166b14cd31cea92d76fbca0808b1b44774459a4d29121e91c2e20c
|
|
|
8318
8582
|
|
|
8319
8583
|
def _typecheckingstub__378b3973374e7523256c5da2187494f5d2cfb4d85e28b4cc20e0b03edb7a4395(
|
|
8320
8584
|
*,
|
|
8585
|
+
targets: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGuardHook.HookTargetProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
8321
8586
|
actions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8322
8587
|
invocation_points: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8323
8588
|
target_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -8591,6 +8856,15 @@ def _typecheckingstub__37d3897a58b7133587d59ce7b2fc6e7c7f4c5ad1b3b3d9020dc5181c7
|
|
|
8591
8856
|
"""Type checking stubs"""
|
|
8592
8857
|
pass
|
|
8593
8858
|
|
|
8859
|
+
def _typecheckingstub__8bb2b3786e42dc7c05244eb8055bbfbc3f7406193d5d1992ac9505fe3aa580e2(
|
|
8860
|
+
*,
|
|
8861
|
+
action: builtins.str,
|
|
8862
|
+
invocation_point: builtins.str,
|
|
8863
|
+
target_name: builtins.str,
|
|
8864
|
+
) -> None:
|
|
8865
|
+
"""Type checking stubs"""
|
|
8866
|
+
pass
|
|
8867
|
+
|
|
8594
8868
|
def _typecheckingstub__1c6825aca96c1ce7eaa02a7e659917eb747e2a75121b6c5d50ef421a9261e58e(
|
|
8595
8869
|
*,
|
|
8596
8870
|
filtering_criteria: builtins.str,
|
|
@@ -8618,6 +8892,7 @@ def _typecheckingstub__5b3429ffb1654464d2c3e5029831647a0bf3172b44a425681964d5585
|
|
|
8618
8892
|
|
|
8619
8893
|
def _typecheckingstub__6b7d133718b35659d76ef50f7b0d36492c3da19aa89cd0ec0d90af415b1383ba(
|
|
8620
8894
|
*,
|
|
8895
|
+
targets: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLambdaHook.HookTargetProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
8621
8896
|
actions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8622
8897
|
invocation_points: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8623
8898
|
target_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -8841,6 +8841,7 @@ class CfnDistribution(
|
|
|
8841
8841
|
An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin:
|
|
8842
8842
|
|
|
8843
8843
|
- Use ``S3OriginConfig`` to specify an Amazon S3 bucket that is not configured with static website hosting.
|
|
8844
|
+
- Use ``VpcOriginConfig`` to specify a VPC origin.
|
|
8844
8845
|
- Use ``CustomOriginConfig`` to specify all other kinds of origins, including:
|
|
8845
8846
|
- An Amazon S3 bucket that is configured with static website hosting
|
|
8846
8847
|
- An Elastic Load Balancing load balancer
|