aws-cdk-lib 2.180.0__py3-none-any.whl → 2.181.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 +80 -30
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.180.0.jsii.tgz → aws-cdk-lib@2.181.1.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_bedrock/__init__.py +759 -0
- aws_cdk/aws_chatbot/__init__.py +80 -53
- aws_cdk/aws_cloudformation/__init__.py +40 -8
- aws_cdk/aws_cognito/__init__.py +100 -4
- aws_cdk/aws_config/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +4 -4
- aws_cdk/aws_ecs/__init__.py +17 -11
- aws_cdk/aws_eks/__init__.py +14 -10
- aws_cdk/aws_iot/__init__.py +2 -2
- aws_cdk/aws_mediapackagev2/__init__.py +228 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -3
- aws_cdk/aws_opensearchserverless/__init__.py +12 -8
- aws_cdk/aws_organizations/__init__.py +3 -3
- aws_cdk/aws_pcaconnectorscep/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +378 -42
- aws_cdk/aws_ssm/__init__.py +5 -5
- aws_cdk/aws_stepfunctions/__init__.py +44 -0
- aws_cdk/aws_transfer/__init__.py +9 -2
- aws_cdk/aws_wisdom/__init__.py +149 -4
- {aws_cdk_lib-2.180.0.dist-info → aws_cdk_lib-2.181.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.180.0.dist-info → aws_cdk_lib-2.181.1.dist-info}/RECORD +29 -29
- {aws_cdk_lib-2.180.0.dist-info → aws_cdk_lib-2.181.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.180.0.dist-info → aws_cdk_lib-2.181.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.180.0.dist-info → aws_cdk_lib-2.181.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.180.0.dist-info → aws_cdk_lib-2.181.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_chatbot/__init__.py
CHANGED
|
@@ -140,7 +140,14 @@ class CfnCustomAction(
|
|
|
140
140
|
metaclass=jsii.JSIIMeta,
|
|
141
141
|
jsii_type="aws-cdk-lib.aws_chatbot.CfnCustomAction",
|
|
142
142
|
):
|
|
143
|
-
'''
|
|
143
|
+
'''.. epigraph::
|
|
144
|
+
|
|
145
|
+
AWS Chatbot is now .
|
|
146
|
+
|
|
147
|
+
`Learn more <https://docs.aws.amazon.com//chatbot/latest/adminguide/service-rename.html>`_
|
|
148
|
+
.. epigraph::
|
|
149
|
+
|
|
150
|
+
``Type`` attribute values remain unchanged.
|
|
144
151
|
|
|
145
152
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html
|
|
146
153
|
:cloudformationResource: AWS::Chatbot::CustomAction
|
|
@@ -197,7 +204,7 @@ class CfnCustomAction(
|
|
|
197
204
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
198
205
|
:param action_name: The name of the custom action. This name is included in the Amazon Resource Name (ARN).
|
|
199
206
|
:param definition: The definition of the command to run when invoked as an alias or as an action button.
|
|
200
|
-
:param alias_name: The name used to invoke this action in a chat channel. For example, ``@
|
|
207
|
+
:param alias_name: The name used to invoke this action in a chat channel. For example, ``@Amazon Q run my-alias`` .
|
|
201
208
|
:param attachments: Defines when this custom action button should be attached to a notification.
|
|
202
209
|
:param tags: The tags to add to the configuration.
|
|
203
210
|
'''
|
|
@@ -357,7 +364,11 @@ class CfnCustomAction(
|
|
|
357
364
|
variable_name: builtins.str,
|
|
358
365
|
value: typing.Optional[builtins.str] = None,
|
|
359
366
|
) -> None:
|
|
360
|
-
'''
|
|
367
|
+
'''.. epigraph::
|
|
368
|
+
|
|
369
|
+
AWS Chatbot is now . `Learn more <https://docs.aws.amazon.com//chatbot/latest/adminguide/service-rename.html>`_ > > ``Type`` attribute values remain unchanged.
|
|
370
|
+
|
|
371
|
+
A criteria for when a button should be shown based on values in the notification.
|
|
361
372
|
|
|
362
373
|
:param operator: The operation to perform on the named variable.
|
|
363
374
|
:param variable_name: The name of the variable to operate on.
|
|
@@ -451,7 +462,11 @@ class CfnCustomAction(
|
|
|
451
462
|
notification_type: typing.Optional[builtins.str] = None,
|
|
452
463
|
variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
453
464
|
) -> None:
|
|
454
|
-
'''
|
|
465
|
+
'''.. epigraph::
|
|
466
|
+
|
|
467
|
+
AWS Chatbot is now . `Learn more <https://docs.aws.amazon.com//chatbot/latest/adminguide/service-rename.html>`_ > > ``Type`` attribute values remain unchanged.
|
|
468
|
+
|
|
469
|
+
Defines when a custom action button should be attached to a notification.
|
|
455
470
|
|
|
456
471
|
:param button_text: The text of the button that appears on the notification.
|
|
457
472
|
:param criteria: The criteria for when a button should be shown based on values in the notification.
|
|
@@ -556,7 +571,11 @@ class CfnCustomAction(
|
|
|
556
571
|
)
|
|
557
572
|
class CustomActionDefinitionProperty:
|
|
558
573
|
def __init__(self, *, command_text: builtins.str) -> None:
|
|
559
|
-
'''
|
|
574
|
+
'''.. epigraph::
|
|
575
|
+
|
|
576
|
+
AWS Chatbot is now . `Learn more <https://docs.aws.amazon.com//chatbot/latest/adminguide/service-rename.html>`_ > > ``Type`` attribute values remain unchanged.
|
|
577
|
+
|
|
578
|
+
The definition of the command to run when invoked as an alias or as an action button.
|
|
560
579
|
|
|
561
580
|
:param command_text: The command string to run which may include variables by prefixing with a dollar sign ($).
|
|
562
581
|
|
|
@@ -627,7 +646,7 @@ class CfnCustomActionProps:
|
|
|
627
646
|
|
|
628
647
|
:param action_name: The name of the custom action. This name is included in the Amazon Resource Name (ARN).
|
|
629
648
|
:param definition: The definition of the command to run when invoked as an alias or as an action button.
|
|
630
|
-
:param alias_name: The name used to invoke this action in a chat channel. For example, ``@
|
|
649
|
+
:param alias_name: The name used to invoke this action in a chat channel. For example, ``@Amazon Q run my-alias`` .
|
|
631
650
|
:param attachments: Defines when this custom action button should be attached to a notification.
|
|
632
651
|
:param tags: The tags to add to the configuration.
|
|
633
652
|
|
|
@@ -714,7 +733,7 @@ class CfnCustomActionProps:
|
|
|
714
733
|
def alias_name(self) -> typing.Optional[builtins.str]:
|
|
715
734
|
'''The name used to invoke this action in a chat channel.
|
|
716
735
|
|
|
717
|
-
For example, ``@
|
|
736
|
+
For example, ``@Amazon Q run my-alias`` .
|
|
718
737
|
|
|
719
738
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html#cfn-chatbot-customaction-aliasname
|
|
720
739
|
'''
|
|
@@ -759,9 +778,13 @@ class CfnMicrosoftTeamsChannelConfiguration(
|
|
|
759
778
|
metaclass=jsii.JSIIMeta,
|
|
760
779
|
jsii_type="aws-cdk-lib.aws_chatbot.CfnMicrosoftTeamsChannelConfiguration",
|
|
761
780
|
):
|
|
762
|
-
'''
|
|
781
|
+
'''.. epigraph::
|
|
782
|
+
|
|
783
|
+
AWS Chatbot is now . `Learn more <https://docs.aws.amazon.com//chatbot/latest/adminguide/service-rename.html>`_ > > ``Type`` attribute values remain unchanged.
|
|
763
784
|
|
|
764
|
-
|
|
785
|
+
The ``AWS::Chatbot::MicrosoftTeamsChannelConfiguration`` resource configures a Microsoft Teams channel to allow users to use with AWS CloudFormation templates.
|
|
786
|
+
|
|
787
|
+
This resource requires some setup to be done in the in chat applications console. To provide the required Microsoft Teams team and tenant IDs, you must perform the initial authorization flow with Microsoft Teams in the in chat applications console, then copy and paste the IDs from the console. For more details, see steps 1-3 in `Get started with Microsoft Teams <https://docs.aws.amazon.com/chatbot/latest/adminguide/teams-setup.html#teams-client-setup>`_ in the *in chat applications Administrator Guide* .
|
|
765
788
|
|
|
766
789
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-microsoftteamschannelconfiguration.html
|
|
767
790
|
:cloudformationResource: AWS::Chatbot::MicrosoftTeamsChannelConfiguration
|
|
@@ -814,14 +837,14 @@ class CfnMicrosoftTeamsChannelConfiguration(
|
|
|
814
837
|
:param scope: Scope in which this resource is defined.
|
|
815
838
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
816
839
|
:param configuration_name: The name of the configuration.
|
|
817
|
-
:param iam_role_arn: The ARN of the IAM role that defines the permissions for
|
|
818
|
-
:param team_id: The ID of the Microsoft Team authorized with
|
|
819
|
-
:param teams_channel_id: The ID of the Microsoft Teams channel. To get the channel ID, open Microsoft Teams, right click on the channel name in the left pane, then choose Copy. An example of the channel ID syntax is: ``19%3ab6ef35dc342d56ba5654e6fc6d25a071%40thread.tacv2`` .
|
|
820
|
-
:param teams_tenant_id: The ID of the Microsoft Teams tenant. To get the tenant ID, you must perform the initial authorization flow with Microsoft Teams in the
|
|
821
|
-
:param customization_resource_arns: Links a list of resource ARNs (for example, custom action ARNs) to a
|
|
840
|
+
:param iam_role_arn: The ARN of the IAM role that defines the permissions for . This is a user-defined role that will assume. This is not the service-linked role. For more information, see `IAM Policies for in chat applications <https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html>`_ .
|
|
841
|
+
:param team_id: The ID of the Microsoft Team authorized with . To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the in chat applications console. Then you can copy and paste the team ID from the console. For more details, see steps 1-3 in `Tutorial: Get started with Microsoft Teams <https://docs.aws.amazon.com/chatbot/latest/adminguide/teams-setup.html>`_ in the *in chat applications Administrator Guide* .
|
|
842
|
+
:param teams_channel_id: The ID of the Microsoft Teams channel. To get the channel ID, open Microsoft Teams, right click on the channel name in the left pane, then choose *Copy* . An example of the channel ID syntax is: ``19%3ab6ef35dc342d56ba5654e6fc6d25a071%40thread.tacv2`` .
|
|
843
|
+
:param teams_tenant_id: The ID of the Microsoft Teams tenant. To get the tenant ID, you must perform the initial authorization flow with Microsoft Teams in the in chat applications console. Then you can copy and paste the tenant ID from the console. For more details, see steps 1-3 in `Tutorial: Get started with Microsoft Teams <https://docs.aws.amazon.com/chatbot/latest/adminguide/teams-setup.html>`_ in the *in chat applications Administrator Guide* .
|
|
844
|
+
:param customization_resource_arns: Links a list of resource ARNs (for example, custom action ARNs) to a Microsoft Teams channel configuration for .
|
|
822
845
|
:param guardrail_policies: The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
|
|
823
846
|
:param logging_level: Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. Logging levels include ``ERROR`` , ``INFO`` , or ``NONE`` . Default: - "NONE"
|
|
824
|
-
:param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to
|
|
847
|
+
:param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to .
|
|
825
848
|
:param tags: The tags to add to the configuration.
|
|
826
849
|
:param user_role_required: Enables use of a user role requirement in your chat configuration. Default: - false
|
|
827
850
|
'''
|
|
@@ -911,7 +934,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
|
|
|
911
934
|
@builtins.property
|
|
912
935
|
@jsii.member(jsii_name="iamRoleArn")
|
|
913
936
|
def iam_role_arn(self) -> builtins.str:
|
|
914
|
-
'''The ARN of the IAM role that defines the permissions for
|
|
937
|
+
'''The ARN of the IAM role that defines the permissions for .'''
|
|
915
938
|
return typing.cast(builtins.str, jsii.get(self, "iamRoleArn"))
|
|
916
939
|
|
|
917
940
|
@iam_role_arn.setter
|
|
@@ -924,7 +947,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
|
|
|
924
947
|
@builtins.property
|
|
925
948
|
@jsii.member(jsii_name="teamId")
|
|
926
949
|
def team_id(self) -> builtins.str:
|
|
927
|
-
'''The ID of the Microsoft Team authorized with
|
|
950
|
+
'''The ID of the Microsoft Team authorized with .'''
|
|
928
951
|
return typing.cast(builtins.str, jsii.get(self, "teamId"))
|
|
929
952
|
|
|
930
953
|
@team_id.setter
|
|
@@ -963,7 +986,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
|
|
|
963
986
|
@builtins.property
|
|
964
987
|
@jsii.member(jsii_name="customizationResourceArns")
|
|
965
988
|
def customization_resource_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
966
|
-
'''Links a list of resource ARNs (for example, custom action ARNs) to a
|
|
989
|
+
'''Links a list of resource ARNs (for example, custom action ARNs) to a Microsoft Teams channel configuration for .'''
|
|
967
990
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "customizationResourceArns"))
|
|
968
991
|
|
|
969
992
|
@customization_resource_arns.setter
|
|
@@ -1011,7 +1034,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
|
|
|
1011
1034
|
@builtins.property
|
|
1012
1035
|
@jsii.member(jsii_name="snsTopicArns")
|
|
1013
1036
|
def sns_topic_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1014
|
-
'''The ARNs of the SNS topics that deliver notifications to
|
|
1037
|
+
'''The ARNs of the SNS topics that deliver notifications to .'''
|
|
1015
1038
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "snsTopicArns"))
|
|
1016
1039
|
|
|
1017
1040
|
@sns_topic_arns.setter
|
|
@@ -1089,14 +1112,14 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
|
|
|
1089
1112
|
'''Properties for defining a ``CfnMicrosoftTeamsChannelConfiguration``.
|
|
1090
1113
|
|
|
1091
1114
|
:param configuration_name: The name of the configuration.
|
|
1092
|
-
:param iam_role_arn: The ARN of the IAM role that defines the permissions for
|
|
1093
|
-
:param team_id: The ID of the Microsoft Team authorized with
|
|
1094
|
-
:param teams_channel_id: The ID of the Microsoft Teams channel. To get the channel ID, open Microsoft Teams, right click on the channel name in the left pane, then choose Copy. An example of the channel ID syntax is: ``19%3ab6ef35dc342d56ba5654e6fc6d25a071%40thread.tacv2`` .
|
|
1095
|
-
:param teams_tenant_id: The ID of the Microsoft Teams tenant. To get the tenant ID, you must perform the initial authorization flow with Microsoft Teams in the
|
|
1096
|
-
:param customization_resource_arns: Links a list of resource ARNs (for example, custom action ARNs) to a
|
|
1115
|
+
:param iam_role_arn: The ARN of the IAM role that defines the permissions for . This is a user-defined role that will assume. This is not the service-linked role. For more information, see `IAM Policies for in chat applications <https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html>`_ .
|
|
1116
|
+
:param team_id: The ID of the Microsoft Team authorized with . To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the in chat applications console. Then you can copy and paste the team ID from the console. For more details, see steps 1-3 in `Tutorial: Get started with Microsoft Teams <https://docs.aws.amazon.com/chatbot/latest/adminguide/teams-setup.html>`_ in the *in chat applications Administrator Guide* .
|
|
1117
|
+
:param teams_channel_id: The ID of the Microsoft Teams channel. To get the channel ID, open Microsoft Teams, right click on the channel name in the left pane, then choose *Copy* . An example of the channel ID syntax is: ``19%3ab6ef35dc342d56ba5654e6fc6d25a071%40thread.tacv2`` .
|
|
1118
|
+
:param teams_tenant_id: The ID of the Microsoft Teams tenant. To get the tenant ID, you must perform the initial authorization flow with Microsoft Teams in the in chat applications console. Then you can copy and paste the tenant ID from the console. For more details, see steps 1-3 in `Tutorial: Get started with Microsoft Teams <https://docs.aws.amazon.com/chatbot/latest/adminguide/teams-setup.html>`_ in the *in chat applications Administrator Guide* .
|
|
1119
|
+
:param customization_resource_arns: Links a list of resource ARNs (for example, custom action ARNs) to a Microsoft Teams channel configuration for .
|
|
1097
1120
|
:param guardrail_policies: The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
|
|
1098
1121
|
:param logging_level: Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. Logging levels include ``ERROR`` , ``INFO`` , or ``NONE`` . Default: - "NONE"
|
|
1099
|
-
:param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to
|
|
1122
|
+
:param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to .
|
|
1100
1123
|
:param tags: The tags to add to the configuration.
|
|
1101
1124
|
:param user_role_required: Enables use of a user role requirement in your chat configuration. Default: - false
|
|
1102
1125
|
|
|
@@ -1173,9 +1196,9 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
|
|
|
1173
1196
|
|
|
1174
1197
|
@builtins.property
|
|
1175
1198
|
def iam_role_arn(self) -> builtins.str:
|
|
1176
|
-
'''The ARN of the IAM role that defines the permissions for
|
|
1199
|
+
'''The ARN of the IAM role that defines the permissions for .
|
|
1177
1200
|
|
|
1178
|
-
This is a user-defined role that
|
|
1201
|
+
This is a user-defined role that will assume. This is not the service-linked role. For more information, see `IAM Policies for in chat applications <https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html>`_ .
|
|
1179
1202
|
|
|
1180
1203
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-microsoftteamschannelconfiguration.html#cfn-chatbot-microsoftteamschannelconfiguration-iamrolearn
|
|
1181
1204
|
'''
|
|
@@ -1185,9 +1208,9 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
|
|
|
1185
1208
|
|
|
1186
1209
|
@builtins.property
|
|
1187
1210
|
def team_id(self) -> builtins.str:
|
|
1188
|
-
'''The ID of the Microsoft Team authorized with
|
|
1211
|
+
'''The ID of the Microsoft Team authorized with .
|
|
1189
1212
|
|
|
1190
|
-
To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the
|
|
1213
|
+
To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the in chat applications console. Then you can copy and paste the team ID from the console. For more details, see steps 1-3 in `Tutorial: Get started with Microsoft Teams <https://docs.aws.amazon.com/chatbot/latest/adminguide/teams-setup.html>`_ in the *in chat applications Administrator Guide* .
|
|
1191
1214
|
|
|
1192
1215
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-microsoftteamschannelconfiguration.html#cfn-chatbot-microsoftteamschannelconfiguration-teamid
|
|
1193
1216
|
'''
|
|
@@ -1199,7 +1222,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
|
|
|
1199
1222
|
def teams_channel_id(self) -> builtins.str:
|
|
1200
1223
|
'''The ID of the Microsoft Teams channel.
|
|
1201
1224
|
|
|
1202
|
-
To get the channel ID, open Microsoft Teams, right click on the channel name in the left pane, then choose Copy. An example of the channel ID syntax is: ``19%3ab6ef35dc342d56ba5654e6fc6d25a071%40thread.tacv2`` .
|
|
1225
|
+
To get the channel ID, open Microsoft Teams, right click on the channel name in the left pane, then choose *Copy* . An example of the channel ID syntax is: ``19%3ab6ef35dc342d56ba5654e6fc6d25a071%40thread.tacv2`` .
|
|
1203
1226
|
|
|
1204
1227
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-microsoftteamschannelconfiguration.html#cfn-chatbot-microsoftteamschannelconfiguration-teamschannelid
|
|
1205
1228
|
'''
|
|
@@ -1211,7 +1234,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
|
|
|
1211
1234
|
def teams_tenant_id(self) -> builtins.str:
|
|
1212
1235
|
'''The ID of the Microsoft Teams tenant.
|
|
1213
1236
|
|
|
1214
|
-
To get the tenant ID, you must perform the initial authorization flow with Microsoft Teams in the
|
|
1237
|
+
To get the tenant ID, you must perform the initial authorization flow with Microsoft Teams in the in chat applications console. Then you can copy and paste the tenant ID from the console. For more details, see steps 1-3 in `Tutorial: Get started with Microsoft Teams <https://docs.aws.amazon.com/chatbot/latest/adminguide/teams-setup.html>`_ in the *in chat applications Administrator Guide* .
|
|
1215
1238
|
|
|
1216
1239
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-microsoftteamschannelconfiguration.html#cfn-chatbot-microsoftteamschannelconfiguration-teamstenantid
|
|
1217
1240
|
'''
|
|
@@ -1221,7 +1244,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
|
|
|
1221
1244
|
|
|
1222
1245
|
@builtins.property
|
|
1223
1246
|
def customization_resource_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1224
|
-
'''Links a list of resource ARNs (for example, custom action ARNs) to a
|
|
1247
|
+
'''Links a list of resource ARNs (for example, custom action ARNs) to a Microsoft Teams channel configuration for .
|
|
1225
1248
|
|
|
1226
1249
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-microsoftteamschannelconfiguration.html#cfn-chatbot-microsoftteamschannelconfiguration-customizationresourcearns
|
|
1227
1250
|
'''
|
|
@@ -1254,7 +1277,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
|
|
|
1254
1277
|
|
|
1255
1278
|
@builtins.property
|
|
1256
1279
|
def sns_topic_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1257
|
-
'''The ARNs of the SNS topics that deliver notifications to
|
|
1280
|
+
'''The ARNs of the SNS topics that deliver notifications to .
|
|
1258
1281
|
|
|
1259
1282
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-microsoftteamschannelconfiguration.html#cfn-chatbot-microsoftteamschannelconfiguration-snstopicarns
|
|
1260
1283
|
'''
|
|
@@ -1301,9 +1324,13 @@ class CfnSlackChannelConfiguration(
|
|
|
1301
1324
|
metaclass=jsii.JSIIMeta,
|
|
1302
1325
|
jsii_type="aws-cdk-lib.aws_chatbot.CfnSlackChannelConfiguration",
|
|
1303
1326
|
):
|
|
1304
|
-
'''
|
|
1327
|
+
'''.. epigraph::
|
|
1328
|
+
|
|
1329
|
+
AWS Chatbot is now . `Learn more <https://docs.aws.amazon.com//chatbot/latest/adminguide/service-rename.html>`_ > > ``Type`` attribute values remain unchanged.
|
|
1330
|
+
|
|
1331
|
+
The ``AWS::Chatbot::SlackChannelConfiguration`` resource configures a Slack channel to allow users to use with AWS CloudFormation templates.
|
|
1305
1332
|
|
|
1306
|
-
This resource requires some setup to be done in the
|
|
1333
|
+
This resource requires some setup to be done in the in chat applications console. To provide the required Slack workspace ID, you must perform the initial authorization flow with Slack in the in chat applications console, then copy and paste the workspace ID from the console. For more details, see steps 1-3 in `Tutorial: Get started with Slack <https://docs.aws.amazon.com/chatbot/latest/adminguide/slack-setup.html#slack-client-setup>`_ in the *in chat applications User Guide* .
|
|
1307
1334
|
|
|
1308
1335
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html
|
|
1309
1336
|
:cloudformationResource: AWS::Chatbot::SlackChannelConfiguration
|
|
@@ -1354,13 +1381,13 @@ class CfnSlackChannelConfiguration(
|
|
|
1354
1381
|
:param scope: Scope in which this resource is defined.
|
|
1355
1382
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1356
1383
|
:param configuration_name: The name of the configuration.
|
|
1357
|
-
:param iam_role_arn: The ARN of the IAM role that defines the permissions for
|
|
1384
|
+
:param iam_role_arn: The ARN of the IAM role that defines the permissions for . This is a user-defined role that will assume. This is not the service-linked role. For more information, see `IAM Policies for in chat applications <https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html>`_ .
|
|
1358
1385
|
:param slack_channel_id: The ID of the Slack channel. To get the ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the character string at the end of the URL. For example, ``ABCBBLZZZ`` .
|
|
1359
|
-
:param slack_workspace_id: The ID of the Slack workspace authorized with
|
|
1360
|
-
:param customization_resource_arns: Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for
|
|
1386
|
+
:param slack_workspace_id: The ID of the Slack workspace authorized with . To get the workspace ID, you must perform the initial authorization flow with Slack in the in chat applications console. Then you can copy and paste the workspace ID from the console. For more details, see steps 1-3 in `Tutorial: Get started with Slack <https://docs.aws.amazon.com/chatbot/latest/adminguide/slack-setup.html#slack-client-setup>`_ in the *in chat applications User Guide* .
|
|
1387
|
+
:param customization_resource_arns: Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for .
|
|
1361
1388
|
:param guardrail_policies: The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
|
|
1362
1389
|
:param logging_level: Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. Logging levels include ``ERROR`` , ``INFO`` , or ``NONE`` . Default: - "NONE"
|
|
1363
|
-
:param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to
|
|
1390
|
+
:param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to .
|
|
1364
1391
|
:param tags: The tags to add to the configuration.
|
|
1365
1392
|
:param user_role_required: Enables use of a user role requirement in your chat configuration. Default: - false
|
|
1366
1393
|
'''
|
|
@@ -1449,7 +1476,7 @@ class CfnSlackChannelConfiguration(
|
|
|
1449
1476
|
@builtins.property
|
|
1450
1477
|
@jsii.member(jsii_name="iamRoleArn")
|
|
1451
1478
|
def iam_role_arn(self) -> builtins.str:
|
|
1452
|
-
'''The ARN of the IAM role that defines the permissions for
|
|
1479
|
+
'''The ARN of the IAM role that defines the permissions for .'''
|
|
1453
1480
|
return typing.cast(builtins.str, jsii.get(self, "iamRoleArn"))
|
|
1454
1481
|
|
|
1455
1482
|
@iam_role_arn.setter
|
|
@@ -1475,7 +1502,7 @@ class CfnSlackChannelConfiguration(
|
|
|
1475
1502
|
@builtins.property
|
|
1476
1503
|
@jsii.member(jsii_name="slackWorkspaceId")
|
|
1477
1504
|
def slack_workspace_id(self) -> builtins.str:
|
|
1478
|
-
'''The ID of the Slack workspace authorized with
|
|
1505
|
+
'''The ID of the Slack workspace authorized with .'''
|
|
1479
1506
|
return typing.cast(builtins.str, jsii.get(self, "slackWorkspaceId"))
|
|
1480
1507
|
|
|
1481
1508
|
@slack_workspace_id.setter
|
|
@@ -1488,7 +1515,7 @@ class CfnSlackChannelConfiguration(
|
|
|
1488
1515
|
@builtins.property
|
|
1489
1516
|
@jsii.member(jsii_name="customizationResourceArns")
|
|
1490
1517
|
def customization_resource_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1491
|
-
'''Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for
|
|
1518
|
+
'''Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for .'''
|
|
1492
1519
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "customizationResourceArns"))
|
|
1493
1520
|
|
|
1494
1521
|
@customization_resource_arns.setter
|
|
@@ -1536,7 +1563,7 @@ class CfnSlackChannelConfiguration(
|
|
|
1536
1563
|
@builtins.property
|
|
1537
1564
|
@jsii.member(jsii_name="snsTopicArns")
|
|
1538
1565
|
def sns_topic_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1539
|
-
'''The ARNs of the SNS topics that deliver notifications to
|
|
1566
|
+
'''The ARNs of the SNS topics that deliver notifications to .'''
|
|
1540
1567
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "snsTopicArns"))
|
|
1541
1568
|
|
|
1542
1569
|
@sns_topic_arns.setter
|
|
@@ -1612,13 +1639,13 @@ class CfnSlackChannelConfigurationProps:
|
|
|
1612
1639
|
'''Properties for defining a ``CfnSlackChannelConfiguration``.
|
|
1613
1640
|
|
|
1614
1641
|
:param configuration_name: The name of the configuration.
|
|
1615
|
-
:param iam_role_arn: The ARN of the IAM role that defines the permissions for
|
|
1642
|
+
:param iam_role_arn: The ARN of the IAM role that defines the permissions for . This is a user-defined role that will assume. This is not the service-linked role. For more information, see `IAM Policies for in chat applications <https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html>`_ .
|
|
1616
1643
|
:param slack_channel_id: The ID of the Slack channel. To get the ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the character string at the end of the URL. For example, ``ABCBBLZZZ`` .
|
|
1617
|
-
:param slack_workspace_id: The ID of the Slack workspace authorized with
|
|
1618
|
-
:param customization_resource_arns: Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for
|
|
1644
|
+
:param slack_workspace_id: The ID of the Slack workspace authorized with . To get the workspace ID, you must perform the initial authorization flow with Slack in the in chat applications console. Then you can copy and paste the workspace ID from the console. For more details, see steps 1-3 in `Tutorial: Get started with Slack <https://docs.aws.amazon.com/chatbot/latest/adminguide/slack-setup.html#slack-client-setup>`_ in the *in chat applications User Guide* .
|
|
1645
|
+
:param customization_resource_arns: Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for .
|
|
1619
1646
|
:param guardrail_policies: The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
|
|
1620
1647
|
:param logging_level: Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. Logging levels include ``ERROR`` , ``INFO`` , or ``NONE`` . Default: - "NONE"
|
|
1621
|
-
:param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to
|
|
1648
|
+
:param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to .
|
|
1622
1649
|
:param tags: The tags to add to the configuration.
|
|
1623
1650
|
:param user_role_required: Enables use of a user role requirement in your chat configuration. Default: - false
|
|
1624
1651
|
|
|
@@ -1692,9 +1719,9 @@ class CfnSlackChannelConfigurationProps:
|
|
|
1692
1719
|
|
|
1693
1720
|
@builtins.property
|
|
1694
1721
|
def iam_role_arn(self) -> builtins.str:
|
|
1695
|
-
'''The ARN of the IAM role that defines the permissions for
|
|
1722
|
+
'''The ARN of the IAM role that defines the permissions for .
|
|
1696
1723
|
|
|
1697
|
-
This is a user-defined role that
|
|
1724
|
+
This is a user-defined role that will assume. This is not the service-linked role. For more information, see `IAM Policies for in chat applications <https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html>`_ .
|
|
1698
1725
|
|
|
1699
1726
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-iamrolearn
|
|
1700
1727
|
'''
|
|
@@ -1716,9 +1743,9 @@ class CfnSlackChannelConfigurationProps:
|
|
|
1716
1743
|
|
|
1717
1744
|
@builtins.property
|
|
1718
1745
|
def slack_workspace_id(self) -> builtins.str:
|
|
1719
|
-
'''The ID of the Slack workspace authorized with
|
|
1746
|
+
'''The ID of the Slack workspace authorized with .
|
|
1720
1747
|
|
|
1721
|
-
To get the workspace ID, you must perform the initial authorization flow with Slack in the
|
|
1748
|
+
To get the workspace ID, you must perform the initial authorization flow with Slack in the in chat applications console. Then you can copy and paste the workspace ID from the console. For more details, see steps 1-3 in `Tutorial: Get started with Slack <https://docs.aws.amazon.com/chatbot/latest/adminguide/slack-setup.html#slack-client-setup>`_ in the *in chat applications User Guide* .
|
|
1722
1749
|
|
|
1723
1750
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-slackworkspaceid
|
|
1724
1751
|
'''
|
|
@@ -1728,7 +1755,7 @@ class CfnSlackChannelConfigurationProps:
|
|
|
1728
1755
|
|
|
1729
1756
|
@builtins.property
|
|
1730
1757
|
def customization_resource_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1731
|
-
'''Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for
|
|
1758
|
+
'''Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for .
|
|
1732
1759
|
|
|
1733
1760
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-customizationresourcearns
|
|
1734
1761
|
'''
|
|
@@ -1761,7 +1788,7 @@ class CfnSlackChannelConfigurationProps:
|
|
|
1761
1788
|
|
|
1762
1789
|
@builtins.property
|
|
1763
1790
|
def sns_topic_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1764
|
-
'''The ARNs of the SNS topics that deliver notifications to
|
|
1791
|
+
'''The ARNs of the SNS topics that deliver notifications to .
|
|
1765
1792
|
|
|
1766
1793
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-snstopicarns
|
|
1767
1794
|
'''
|
|
@@ -350,8 +350,8 @@ class CfnGuardHook(
|
|
|
350
350
|
:param target_operations: Specifies the list of operations the Hook is run against. For more information, see `Hook targets <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-concepts.html#hook-terms-hook-target>`_ in the *AWS CloudFormation Hooks User Guide* . Valid values: ``STACK`` | ``RESOURCE`` | ``CHANGE_SET`` | ``CLOUD_CONTROL``
|
|
351
351
|
:param log_bucket: Specifies the name of an S3 bucket to store the Guard output report. This report contains the results of your Guard rule validations.
|
|
352
352
|
:param options: Specifies the S3 location of your input parameters.
|
|
353
|
-
:param stack_filters: Specifies the stack level filters for the Hook.
|
|
354
|
-
:param target_filters: Specifies the target filters for the Hook.
|
|
353
|
+
:param stack_filters: Specifies the stack level filters for the Hook. Example stack level filter in JSON: ``"StackFilters": {"FilteringCriteria": "ALL", "StackNames": {"Exclude": [ "stack-1", "stack-2"]}}`` Example stack level filter in YAML: ``StackFilters: FilteringCriteria: ALL StackNames: Exclude: - stack-1 - stack-2``
|
|
354
|
+
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "Create", "Update", "Delete" ]}`` Example target filter in YAML: ``TargetFilters: Actions: - CREATE - UPDATE - DELETE``
|
|
355
355
|
'''
|
|
356
356
|
if __debug__:
|
|
357
357
|
type_hints = typing.get_type_hints(_typecheckingstub__03161d7a487fda6efdcca08ffddf765149d688cda393f699958050fcb318e260)
|
|
@@ -1106,8 +1106,8 @@ class CfnGuardHookProps:
|
|
|
1106
1106
|
:param target_operations: Specifies the list of operations the Hook is run against. For more information, see `Hook targets <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-concepts.html#hook-terms-hook-target>`_ in the *AWS CloudFormation Hooks User Guide* . Valid values: ``STACK`` | ``RESOURCE`` | ``CHANGE_SET`` | ``CLOUD_CONTROL``
|
|
1107
1107
|
:param log_bucket: Specifies the name of an S3 bucket to store the Guard output report. This report contains the results of your Guard rule validations.
|
|
1108
1108
|
:param options: Specifies the S3 location of your input parameters.
|
|
1109
|
-
:param stack_filters: Specifies the stack level filters for the Hook.
|
|
1110
|
-
:param target_filters: Specifies the target filters for the Hook.
|
|
1109
|
+
:param stack_filters: Specifies the stack level filters for the Hook. Example stack level filter in JSON: ``"StackFilters": {"FilteringCriteria": "ALL", "StackNames": {"Exclude": [ "stack-1", "stack-2"]}}`` Example stack level filter in YAML: ``StackFilters: FilteringCriteria: ALL StackNames: Exclude: - stack-1 - stack-2``
|
|
1110
|
+
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "Create", "Update", "Delete" ]}`` Example target filter in YAML: ``TargetFilters: Actions: - CREATE - UPDATE - DELETE``
|
|
1111
1111
|
|
|
1112
1112
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html
|
|
1113
1113
|
:exampleMetadata: fixture=_generated
|
|
@@ -1293,6 +1293,14 @@ class CfnGuardHookProps:
|
|
|
1293
1293
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGuardHook.StackFiltersProperty]]:
|
|
1294
1294
|
'''Specifies the stack level filters for the Hook.
|
|
1295
1295
|
|
|
1296
|
+
Example stack level filter in JSON:
|
|
1297
|
+
|
|
1298
|
+
``"StackFilters": {"FilteringCriteria": "ALL", "StackNames": {"Exclude": [ "stack-1", "stack-2"]}}``
|
|
1299
|
+
|
|
1300
|
+
Example stack level filter in YAML:
|
|
1301
|
+
|
|
1302
|
+
``StackFilters: FilteringCriteria: ALL StackNames: Exclude: - stack-1 - stack-2``
|
|
1303
|
+
|
|
1296
1304
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-stackfilters
|
|
1297
1305
|
'''
|
|
1298
1306
|
result = self._values.get("stack_filters")
|
|
@@ -1304,6 +1312,14 @@ class CfnGuardHookProps:
|
|
|
1304
1312
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGuardHook.TargetFiltersProperty]]:
|
|
1305
1313
|
'''Specifies the target filters for the Hook.
|
|
1306
1314
|
|
|
1315
|
+
Example target filter in JSON:
|
|
1316
|
+
|
|
1317
|
+
``"TargetFilters": {"Actions": [ "Create", "Update", "Delete" ]}``
|
|
1318
|
+
|
|
1319
|
+
Example target filter in YAML:
|
|
1320
|
+
|
|
1321
|
+
``TargetFilters: Actions: - CREATE - UPDATE - DELETE``
|
|
1322
|
+
|
|
1307
1323
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-targetfilters
|
|
1308
1324
|
'''
|
|
1309
1325
|
result = self._values.get("target_filters")
|
|
@@ -2325,8 +2341,8 @@ class CfnLambdaHook(
|
|
|
2325
2341
|
:param hook_status: Specifies if the Hook is ``ENABLED`` or ``DISABLED`` . Default: - "ENABLED"
|
|
2326
2342
|
:param lambda_function: Specifies the Lambda function for the Hook. You can use:. - The full Amazon Resource Name (ARN) without a suffix. - A qualified ARN with a version or alias suffix.
|
|
2327
2343
|
:param target_operations: Specifies the list of operations the Hook is run against. For more information, see `Hook targets <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-concepts.html#hook-terms-hook-target>`_ in the *AWS CloudFormation Hooks User Guide* . Valid values: ``STACK`` | ``RESOURCE`` | ``CHANGE_SET`` | ``CLOUD_CONTROL``
|
|
2328
|
-
:param stack_filters: Specifies the stack level filters for the Hook.
|
|
2329
|
-
:param target_filters: Specifies the target filters for the Hook.
|
|
2344
|
+
:param stack_filters: Specifies the stack level filters for the Hook. Example stack level filter in JSON: ``"StackFilters": {"FilteringCriteria": "ALL", "StackNames": {"Exclude": [ "stack-1", "stack-2"]}}`` Example stack level filter in YAML: ``StackFilters: FilteringCriteria: ALL StackNames: Exclude: - stack-1 - stack-2``
|
|
2345
|
+
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "Create", "Update", "Delete" ]}`` Example target filter in YAML: ``TargetFilters: Actions: - CREATE - UPDATE - DELETE``
|
|
2330
2346
|
'''
|
|
2331
2347
|
if __debug__:
|
|
2332
2348
|
type_hints = typing.get_type_hints(_typecheckingstub__fec9ac58a382959177810e26366e5dddc9f912aaf73b09411981c9ecbce1010a)
|
|
@@ -2899,8 +2915,8 @@ class CfnLambdaHookProps:
|
|
|
2899
2915
|
:param hook_status: Specifies if the Hook is ``ENABLED`` or ``DISABLED`` . Default: - "ENABLED"
|
|
2900
2916
|
:param lambda_function: Specifies the Lambda function for the Hook. You can use:. - The full Amazon Resource Name (ARN) without a suffix. - A qualified ARN with a version or alias suffix.
|
|
2901
2917
|
:param target_operations: Specifies the list of operations the Hook is run against. For more information, see `Hook targets <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-concepts.html#hook-terms-hook-target>`_ in the *AWS CloudFormation Hooks User Guide* . Valid values: ``STACK`` | ``RESOURCE`` | ``CHANGE_SET`` | ``CLOUD_CONTROL``
|
|
2902
|
-
:param stack_filters: Specifies the stack level filters for the Hook.
|
|
2903
|
-
:param target_filters: Specifies the target filters for the Hook.
|
|
2918
|
+
:param stack_filters: Specifies the stack level filters for the Hook. Example stack level filter in JSON: ``"StackFilters": {"FilteringCriteria": "ALL", "StackNames": {"Exclude": [ "stack-1", "stack-2"]}}`` Example stack level filter in YAML: ``StackFilters: FilteringCriteria: ALL StackNames: Exclude: - stack-1 - stack-2``
|
|
2919
|
+
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "Create", "Update", "Delete" ]}`` Example target filter in YAML: ``TargetFilters: Actions: - CREATE - UPDATE - DELETE``
|
|
2904
2920
|
|
|
2905
2921
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html
|
|
2906
2922
|
:exampleMetadata: fixture=_generated
|
|
@@ -3043,6 +3059,14 @@ class CfnLambdaHookProps:
|
|
|
3043
3059
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnLambdaHook.StackFiltersProperty]]:
|
|
3044
3060
|
'''Specifies the stack level filters for the Hook.
|
|
3045
3061
|
|
|
3062
|
+
Example stack level filter in JSON:
|
|
3063
|
+
|
|
3064
|
+
``"StackFilters": {"FilteringCriteria": "ALL", "StackNames": {"Exclude": [ "stack-1", "stack-2"]}}``
|
|
3065
|
+
|
|
3066
|
+
Example stack level filter in YAML:
|
|
3067
|
+
|
|
3068
|
+
``StackFilters: FilteringCriteria: ALL StackNames: Exclude: - stack-1 - stack-2``
|
|
3069
|
+
|
|
3046
3070
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-stackfilters
|
|
3047
3071
|
'''
|
|
3048
3072
|
result = self._values.get("stack_filters")
|
|
@@ -3054,6 +3078,14 @@ class CfnLambdaHookProps:
|
|
|
3054
3078
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnLambdaHook.TargetFiltersProperty]]:
|
|
3055
3079
|
'''Specifies the target filters for the Hook.
|
|
3056
3080
|
|
|
3081
|
+
Example target filter in JSON:
|
|
3082
|
+
|
|
3083
|
+
``"TargetFilters": {"Actions": [ "Create", "Update", "Delete" ]}``
|
|
3084
|
+
|
|
3085
|
+
Example target filter in YAML:
|
|
3086
|
+
|
|
3087
|
+
``TargetFilters: Actions: - CREATE - UPDATE - DELETE``
|
|
3088
|
+
|
|
3057
3089
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-targetfilters
|
|
3058
3090
|
'''
|
|
3059
3091
|
result = self._values.get("target_filters")
|