aws-cdk-lib 2.143.0__py3-none-any.whl → 2.144.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/_jsii/__init__.py CHANGED
@@ -19,7 +19,7 @@ import aws_cdk.asset_node_proxy_agent_v6._jsii
19
19
  import constructs._jsii
20
20
 
21
21
  __jsii_assembly__ = jsii.JSIIAssembly.load(
22
- "aws-cdk-lib", "2.143.0", __name__[0:-6], "aws-cdk-lib@2.143.0.jsii.tgz"
22
+ "aws-cdk-lib", "2.144.0", __name__[0:-6], "aws-cdk-lib@2.144.0.jsii.tgz"
23
23
  )
24
24
 
25
25
  __all__ = [
@@ -7,6 +7,7 @@
7
7
 
8
8
  * [Lambda Integration](#lambda)
9
9
  * [HTTP Proxy Integration](#http-proxy)
10
+ * [StepFunctions Integration](#stepfunctions-integration)
10
11
  * [Private Integration](#private-integration)
11
12
  * [Request Parameters](#request-parameters)
12
13
  * [WebSocket APIs](#websocket-apis)
@@ -79,6 +79,25 @@ appconfig.Environment(self, "MyEnvironment",
79
79
  Environment monitors also support L1 `CfnEnvironment.MonitorsProperty` constructs through the `fromCfnMonitorsProperty` method.
80
80
  However, this is not the recommended approach for CloudWatch alarms because a role will not be auto-generated if not provided.
81
81
 
82
+ See [About the AWS AppConfig data plane service](https://docs.aws.amazon.com/appconfig/latest/userguide/about-data-plane.html) for more information.
83
+
84
+ ### Permissions
85
+
86
+ You can grant read permission on the environment's configurations with the grantReadConfig method as follows:
87
+
88
+ ```python
89
+ import aws_cdk.aws_iam as iam
90
+
91
+
92
+ app = appconfig.Application(self, "MyAppConfig")
93
+ env = appconfig.Environment(self, "MyEnvironment",
94
+ application=app
95
+ )
96
+
97
+ user = iam.User(self, "MyUser")
98
+ env.grant_read_config(user)
99
+ ```
100
+
82
101
  ## Deployment Strategy
83
102
 
84
103
  [AWS AppConfig Deployment Strategy Documentation](https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html)
@@ -679,7 +698,10 @@ from ..aws_codepipeline import IPipeline as _IPipeline_0931f838
679
698
  from ..aws_ecs import TaskDefinition as _TaskDefinition_a541a103
680
699
  from ..aws_events import IEventBus as _IEventBus_88d13111
681
700
  from ..aws_iam import (
682
- IRole as _IRole_235f5d8e, PolicyDocument as _PolicyDocument_3ac34393
701
+ Grant as _Grant_a7ae64f8,
702
+ IGrantable as _IGrantable_71c4f5de,
703
+ IRole as _IRole_235f5d8e,
704
+ PolicyDocument as _PolicyDocument_3ac34393,
683
705
  )
684
706
  from ..aws_kms import IKey as _IKey_5f11635f
685
707
  from ..aws_lambda import (
@@ -7727,6 +7749,29 @@ class IEnvironment(_IResource_c80c4260, typing_extensions.Protocol):
7727
7749
  '''
7728
7750
  ...
7729
7751
 
7752
+ @jsii.member(jsii_name="grant")
7753
+ def grant(
7754
+ self,
7755
+ grantee: _IGrantable_71c4f5de,
7756
+ *actions: builtins.str,
7757
+ ) -> _Grant_a7ae64f8:
7758
+ '''Adds an IAM policy statement associated with this environment to an IAM principal's policy.
7759
+
7760
+ :param grantee: the principal (no-op if undefined).
7761
+ :param actions: the set of actions to allow (i.e., 'appconfig:GetLatestConfiguration', 'appconfig:StartConfigurationSession', etc.).
7762
+ '''
7763
+ ...
7764
+
7765
+ @jsii.member(jsii_name="grantReadConfig")
7766
+ def grant_read_config(self, grantee: _IGrantable_71c4f5de) -> _Grant_a7ae64f8:
7767
+ '''Permits an IAM principal to perform read operations on this environment's configurations.
7768
+
7769
+ Actions: GetLatestConfiguration, StartConfigurationSession.
7770
+
7771
+ :param grantee: Principal to grant read rights to.
7772
+ '''
7773
+ ...
7774
+
7730
7775
  @jsii.member(jsii_name="on")
7731
7776
  def on(
7732
7777
  self,
@@ -7982,6 +8027,36 @@ class _IEnvironmentProxy(
7982
8027
  check_type(argname="argument extension", value=extension, expected_type=type_hints["extension"])
7983
8028
  return typing.cast(None, jsii.invoke(self, "addExtension", [extension]))
7984
8029
 
8030
+ @jsii.member(jsii_name="grant")
8031
+ def grant(
8032
+ self,
8033
+ grantee: _IGrantable_71c4f5de,
8034
+ *actions: builtins.str,
8035
+ ) -> _Grant_a7ae64f8:
8036
+ '''Adds an IAM policy statement associated with this environment to an IAM principal's policy.
8037
+
8038
+ :param grantee: the principal (no-op if undefined).
8039
+ :param actions: the set of actions to allow (i.e., 'appconfig:GetLatestConfiguration', 'appconfig:StartConfigurationSession', etc.).
8040
+ '''
8041
+ if __debug__:
8042
+ type_hints = typing.get_type_hints(_typecheckingstub__f223f0108afb5683d5788fc1fb9f93cbd4c76cb5698d6aae016951683e8148ee)
8043
+ check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
8044
+ check_type(argname="argument actions", value=actions, expected_type=typing.Tuple[type_hints["actions"], ...]) # pyright: ignore [reportGeneralTypeIssues]
8045
+ return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grant", [grantee, *actions]))
8046
+
8047
+ @jsii.member(jsii_name="grantReadConfig")
8048
+ def grant_read_config(self, grantee: _IGrantable_71c4f5de) -> _Grant_a7ae64f8:
8049
+ '''Permits an IAM principal to perform read operations on this environment's configurations.
8050
+
8051
+ Actions: GetLatestConfiguration, StartConfigurationSession.
8052
+
8053
+ :param grantee: Principal to grant read rights to.
8054
+ '''
8055
+ if __debug__:
8056
+ type_hints = typing.get_type_hints(_typecheckingstub__9980f2056195344785f7b36a405e0d1227ad963e409c454217caf9b0e4ab2c9d)
8057
+ check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
8058
+ return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantReadConfig", [grantee]))
8059
+
7985
8060
  @jsii.member(jsii_name="on")
7986
8061
  def on(
7987
8062
  self,
@@ -11480,6 +11555,36 @@ class Environment(
11480
11555
  check_type(argname="argument extension", value=extension, expected_type=type_hints["extension"])
11481
11556
  return typing.cast(None, jsii.invoke(self, "addExtension", [extension]))
11482
11557
 
11558
+ @jsii.member(jsii_name="grant")
11559
+ def grant(
11560
+ self,
11561
+ grantee: _IGrantable_71c4f5de,
11562
+ *actions: builtins.str,
11563
+ ) -> _Grant_a7ae64f8:
11564
+ '''Adds an IAM policy statement associated with this environment to an IAM principal's policy.
11565
+
11566
+ :param grantee: -
11567
+ :param actions: -
11568
+ '''
11569
+ if __debug__:
11570
+ type_hints = typing.get_type_hints(_typecheckingstub__9c65f9ec077d5abb2638f74671e3f2d65ef4fed80c0e32561b7b807b917e7d53)
11571
+ check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
11572
+ check_type(argname="argument actions", value=actions, expected_type=typing.Tuple[type_hints["actions"], ...]) # pyright: ignore [reportGeneralTypeIssues]
11573
+ return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grant", [grantee, *actions]))
11574
+
11575
+ @jsii.member(jsii_name="grantReadConfig")
11576
+ def grant_read_config(self, identity: _IGrantable_71c4f5de) -> _Grant_a7ae64f8:
11577
+ '''Permits an IAM principal to perform read operations on this environment's configurations.
11578
+
11579
+ Actions: GetLatestConfiguration, StartConfigurationSession.
11580
+
11581
+ :param identity: -
11582
+ '''
11583
+ if __debug__:
11584
+ type_hints = typing.get_type_hints(_typecheckingstub__790a777ba7325eb4b088cf4fe3be2b4fdcc0c100050d537316abc7125c7f326f)
11585
+ check_type(argname="argument identity", value=identity, expected_type=type_hints["identity"])
11586
+ return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantReadConfig", [identity]))
11587
+
11483
11588
  @jsii.member(jsii_name="on")
11484
11589
  def on(
11485
11590
  self,
@@ -13912,6 +14017,19 @@ def _typecheckingstub__21f3fd9d8706d2da33872e0f177690ef7904e1a5bffb8f09838105674
13912
14017
  """Type checking stubs"""
13913
14018
  pass
13914
14019
 
14020
+ def _typecheckingstub__f223f0108afb5683d5788fc1fb9f93cbd4c76cb5698d6aae016951683e8148ee(
14021
+ grantee: _IGrantable_71c4f5de,
14022
+ *actions: builtins.str,
14023
+ ) -> None:
14024
+ """Type checking stubs"""
14025
+ pass
14026
+
14027
+ def _typecheckingstub__9980f2056195344785f7b36a405e0d1227ad963e409c454217caf9b0e4ab2c9d(
14028
+ grantee: _IGrantable_71c4f5de,
14029
+ ) -> None:
14030
+ """Type checking stubs"""
14031
+ pass
14032
+
13915
14033
  def _typecheckingstub__a99dab2b60d71d853252dc1cd4c58e0db20f0d3344869d8b3c0078d823053f47(
13916
14034
  action_point: ActionPoint,
13917
14035
  event_destination: IEventDestination,
@@ -14591,6 +14709,19 @@ def _typecheckingstub__46eeb9c815b4c9f3f9ff6e64ae0bba20fa3057be7b74747b611ea6726
14591
14709
  """Type checking stubs"""
14592
14710
  pass
14593
14711
 
14712
+ def _typecheckingstub__9c65f9ec077d5abb2638f74671e3f2d65ef4fed80c0e32561b7b807b917e7d53(
14713
+ grantee: _IGrantable_71c4f5de,
14714
+ *actions: builtins.str,
14715
+ ) -> None:
14716
+ """Type checking stubs"""
14717
+ pass
14718
+
14719
+ def _typecheckingstub__790a777ba7325eb4b088cf4fe3be2b4fdcc0c100050d537316abc7125c7f326f(
14720
+ identity: _IGrantable_71c4f5de,
14721
+ ) -> None:
14722
+ """Type checking stubs"""
14723
+ pass
14724
+
14594
14725
  def _typecheckingstub__0c5b20c6ba105fc862af761c49db56fe32fde770ccf217e82ae6d4ae54bada0f(
14595
14726
  action_point: ActionPoint,
14596
14727
  event_destination: IEventDestination,
@@ -6746,6 +6746,12 @@ class FoundationModelIdentifier(
6746
6746
  '''Base model "amazon.titan-embed-text-v1:2:8k".'''
6747
6747
  return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_EMBED_TEXT_V1_2_8K"))
6748
6748
 
6749
+ @jsii.python.classproperty
6750
+ @jsii.member(jsii_name="AMAZON_TITAN_EMBED_TEXT_V2_0")
6751
+ def AMAZON_TITAN_EMBED_TEXT_V2_0(cls) -> "FoundationModelIdentifier":
6752
+ '''Base model "amazon.titan-embed-text-v2:0".'''
6753
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_EMBED_TEXT_V2_0"))
6754
+
6749
6755
  @jsii.python.classproperty
6750
6756
  @jsii.member(jsii_name="AMAZON_TITAN_EMBEDDINGS_G1_TEXT_V1")
6751
6757
  def AMAZON_TITAN_EMBEDDINGS_G1_TEXT_V1(cls) -> "FoundationModelIdentifier":
@@ -6782,6 +6788,12 @@ class FoundationModelIdentifier(
6782
6788
  '''Base model "amazon.titan-text-express-v1".'''
6783
6789
  return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_TEXT_G1_EXPRESS_V1"))
6784
6790
 
6791
+ @jsii.python.classproperty
6792
+ @jsii.member(jsii_name="AMAZON_TITAN_TEXT_G1_LITE_V1")
6793
+ def AMAZON_TITAN_TEXT_G1_LITE_V1(cls) -> "FoundationModelIdentifier":
6794
+ '''Base model "amazon.titan-text-lite-v1".'''
6795
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_TEXT_G1_LITE_V1"))
6796
+
6785
6797
  @jsii.python.classproperty
6786
6798
  @jsii.member(jsii_name="AMAZON_TITAN_TEXT_LITE_V1")
6787
6799
  def AMAZON_TITAN_TEXT_LITE_V1(cls) -> "FoundationModelIdentifier":
@@ -6794,6 +6806,12 @@ class FoundationModelIdentifier(
6794
6806
  '''Base model "amazon.titan-text-lite-v1:0:4k".'''
6795
6807
  return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_TEXT_LITE_V1_0_4K"))
6796
6808
 
6809
+ @jsii.python.classproperty
6810
+ @jsii.member(jsii_name="AMAZON_TITAN_TEXT_PREMIER_V1")
6811
+ def AMAZON_TITAN_TEXT_PREMIER_V1(cls) -> "FoundationModelIdentifier":
6812
+ '''Base model "amazon.titan-text-premier-v1:0".'''
6813
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_TEXT_PREMIER_V1"))
6814
+
6797
6815
  @jsii.python.classproperty
6798
6816
  @jsii.member(jsii_name="AMAZON_TITAN_TG1_LARGE")
6799
6817
  def AMAZON_TITAN_TG1_LARGE(cls) -> "FoundationModelIdentifier":
@@ -6919,6 +6937,18 @@ class FoundationModelIdentifier(
6919
6937
  '''Base model "cohere.command-light-text-v14".'''
6920
6938
  return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "COHERE_COMMAND_LIGHT_V14"))
6921
6939
 
6940
+ @jsii.python.classproperty
6941
+ @jsii.member(jsii_name="COHERE_COMMAND_R_PLUS_V1")
6942
+ def COHERE_COMMAND_R_PLUS_V1(cls) -> "FoundationModelIdentifier":
6943
+ '''Base model "cohere.command-r-v1:0".'''
6944
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "COHERE_COMMAND_R_PLUS_V1"))
6945
+
6946
+ @jsii.python.classproperty
6947
+ @jsii.member(jsii_name="COHERE_COMMAND_R_V1")
6948
+ def COHERE_COMMAND_R_V1(cls) -> "FoundationModelIdentifier":
6949
+ '''Base model "cohere.command-r-v1:0".'''
6950
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "COHERE_COMMAND_R_V1"))
6951
+
6922
6952
  @jsii.python.classproperty
6923
6953
  @jsii.member(jsii_name="COHERE_COMMAND_TEXT_V14_7_4K")
6924
6954
  def COHERE_COMMAND_TEXT_V14_7_4_K(cls) -> "FoundationModelIdentifier":
@@ -6991,6 +7021,24 @@ class FoundationModelIdentifier(
6991
7021
  '''Base model "meta.llama2-70b-chat-v1".'''
6992
7022
  return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_2_CHAT_70B_V1"))
6993
7023
 
7024
+ @jsii.python.classproperty
7025
+ @jsii.member(jsii_name="META_LLAMA_3_70_INSTRUCT_V1")
7026
+ def META_LLAMA_3_70_INSTRUCT_V1(cls) -> "FoundationModelIdentifier":
7027
+ '''Base model "meta.llama3-70b-instruct-v1:0".'''
7028
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_3_70_INSTRUCT_V1"))
7029
+
7030
+ @jsii.python.classproperty
7031
+ @jsii.member(jsii_name="META_LLAMA_3_8B_INSTRUCT_V1")
7032
+ def META_LLAMA_3_8_B_INSTRUCT_V1(cls) -> "FoundationModelIdentifier":
7033
+ '''Base model "meta.llama3-8b-instruct-v1:0".'''
7034
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_3_8B_INSTRUCT_V1"))
7035
+
7036
+ @jsii.python.classproperty
7037
+ @jsii.member(jsii_name="MISTRAL_LARGE_V0_1")
7038
+ def MISTRAL_LARGE_V0_1(cls) -> "FoundationModelIdentifier":
7039
+ '''Base model "mistral.mistral-large-2402-v1:0".'''
7040
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "MISTRAL_LARGE_V0_1"))
7041
+
6994
7042
  @jsii.python.classproperty
6995
7043
  @jsii.member(jsii_name="MISTRAL_MISTRAL_7B_INSTRUCT_V0_2")
6996
7044
  def MISTRAL_MISTRAL_7_B_INSTRUCT_V0_2(cls) -> "FoundationModelIdentifier":
@@ -68,11 +68,14 @@ from .._jsii import *
68
68
  import constructs as _constructs_77d1e7e8
69
69
  from .. import (
70
70
  CfnResource as _CfnResource_9df397a6,
71
+ CfnTag as _CfnTag_f6864754,
71
72
  Duration as _Duration_4839e8c3,
72
73
  IInspectable as _IInspectable_c2943556,
73
74
  IResolvable as _IResolvable_da3f097b,
74
75
  IResource as _IResource_c80c4260,
76
+ ITaggableV2 as _ITaggableV2_4e6798f8,
75
77
  Resource as _Resource_45bc6135,
78
+ TagManager as _TagManager_0a598cb3,
76
79
  TreeInspector as _TreeInspector_488e0dd5,
77
80
  )
78
81
  from ..aws_cloudwatch import (
@@ -98,7 +101,7 @@ from ..aws_logs import (
98
101
  from ..aws_sns import ITopic as _ITopic_9eca4852
99
102
 
100
103
 
101
- @jsii.implements(_IInspectable_c2943556)
104
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
102
105
  class CfnMicrosoftTeamsChannelConfiguration(
103
106
  _CfnResource_9df397a6,
104
107
  metaclass=jsii.JSIIMeta,
@@ -129,6 +132,10 @@ class CfnMicrosoftTeamsChannelConfiguration(
129
132
  guardrail_policies=["guardrailPolicies"],
130
133
  logging_level="loggingLevel",
131
134
  sns_topic_arns=["snsTopicArns"],
135
+ tags=[CfnTag(
136
+ key="key",
137
+ value="value"
138
+ )],
132
139
  user_role_required=False
133
140
  )
134
141
  '''
@@ -146,6 +153,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
146
153
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
147
154
  logging_level: typing.Optional[builtins.str] = None,
148
155
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
156
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
149
157
  user_role_required: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
150
158
  ) -> None:
151
159
  '''
@@ -159,6 +167,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
159
167
  :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.
160
168
  :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"
161
169
  :param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to AWS Chatbot .
170
+ :param tags: The tags to add to the configuration.
162
171
  :param user_role_required: Enables use of a user role requirement in your chat configuration. Default: - false
163
172
  '''
164
173
  if __debug__:
@@ -174,6 +183,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
174
183
  guardrail_policies=guardrail_policies,
175
184
  logging_level=logging_level,
176
185
  sns_topic_arns=sns_topic_arns,
186
+ tags=tags,
177
187
  user_role_required=user_role_required,
178
188
  )
179
189
 
@@ -218,6 +228,12 @@ class CfnMicrosoftTeamsChannelConfiguration(
218
228
  '''
219
229
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
220
230
 
231
+ @builtins.property
232
+ @jsii.member(jsii_name="cdkTagManager")
233
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
234
+ '''Tag Manager which manages the tags for this resource.'''
235
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
236
+
221
237
  @builtins.property
222
238
  @jsii.member(jsii_name="cfnProperties")
223
239
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -333,6 +349,19 @@ class CfnMicrosoftTeamsChannelConfiguration(
333
349
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
334
350
  jsii.set(self, "snsTopicArns", value)
335
351
 
352
+ @builtins.property
353
+ @jsii.member(jsii_name="tags")
354
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
355
+ '''The tags to add to the configuration.'''
356
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
357
+
358
+ @tags.setter
359
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
360
+ if __debug__:
361
+ type_hints = typing.get_type_hints(_typecheckingstub__85a622952d9fea475beb11aa3753f5147c076bc04254dc91a4dbc14ee94b8b42)
362
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
363
+ jsii.set(self, "tags", value)
364
+
336
365
  @builtins.property
337
366
  @jsii.member(jsii_name="userRoleRequired")
338
367
  def user_role_required(
@@ -364,6 +393,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
364
393
  "guardrail_policies": "guardrailPolicies",
365
394
  "logging_level": "loggingLevel",
366
395
  "sns_topic_arns": "snsTopicArns",
396
+ "tags": "tags",
367
397
  "user_role_required": "userRoleRequired",
368
398
  },
369
399
  )
@@ -379,6 +409,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
379
409
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
380
410
  logging_level: typing.Optional[builtins.str] = None,
381
411
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
412
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
382
413
  user_role_required: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
383
414
  ) -> None:
384
415
  '''Properties for defining a ``CfnMicrosoftTeamsChannelConfiguration``.
@@ -391,6 +422,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
391
422
  :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.
392
423
  :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"
393
424
  :param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to AWS Chatbot .
425
+ :param tags: The tags to add to the configuration.
394
426
  :param user_role_required: Enables use of a user role requirement in your chat configuration. Default: - false
395
427
 
396
428
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-microsoftteamschannelconfiguration.html
@@ -413,6 +445,10 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
413
445
  guardrail_policies=["guardrailPolicies"],
414
446
  logging_level="loggingLevel",
415
447
  sns_topic_arns=["snsTopicArns"],
448
+ tags=[CfnTag(
449
+ key="key",
450
+ value="value"
451
+ )],
416
452
  user_role_required=False
417
453
  )
418
454
  '''
@@ -426,6 +462,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
426
462
  check_type(argname="argument guardrail_policies", value=guardrail_policies, expected_type=type_hints["guardrail_policies"])
427
463
  check_type(argname="argument logging_level", value=logging_level, expected_type=type_hints["logging_level"])
428
464
  check_type(argname="argument sns_topic_arns", value=sns_topic_arns, expected_type=type_hints["sns_topic_arns"])
465
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
429
466
  check_type(argname="argument user_role_required", value=user_role_required, expected_type=type_hints["user_role_required"])
430
467
  self._values: typing.Dict[builtins.str, typing.Any] = {
431
468
  "configuration_name": configuration_name,
@@ -440,6 +477,8 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
440
477
  self._values["logging_level"] = logging_level
441
478
  if sns_topic_arns is not None:
442
479
  self._values["sns_topic_arns"] = sns_topic_arns
480
+ if tags is not None:
481
+ self._values["tags"] = tags
443
482
  if user_role_required is not None:
444
483
  self._values["user_role_required"] = user_role_required
445
484
 
@@ -534,6 +573,15 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
534
573
  result = self._values.get("sns_topic_arns")
535
574
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
536
575
 
576
+ @builtins.property
577
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
578
+ '''The tags to add to the configuration.
579
+
580
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-microsoftteamschannelconfiguration.html#cfn-chatbot-microsoftteamschannelconfiguration-tags
581
+ '''
582
+ result = self._values.get("tags")
583
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
584
+
537
585
  @builtins.property
538
586
  def user_role_required(
539
587
  self,
@@ -559,7 +607,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
559
607
  )
560
608
 
561
609
 
562
- @jsii.implements(_IInspectable_c2943556)
610
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
563
611
  class CfnSlackChannelConfiguration(
564
612
  _CfnResource_9df397a6,
565
613
  metaclass=jsii.JSIIMeta,
@@ -589,6 +637,10 @@ class CfnSlackChannelConfiguration(
589
637
  guardrail_policies=["guardrailPolicies"],
590
638
  logging_level="loggingLevel",
591
639
  sns_topic_arns=["snsTopicArns"],
640
+ tags=[CfnTag(
641
+ key="key",
642
+ value="value"
643
+ )],
592
644
  user_role_required=False
593
645
  )
594
646
  '''
@@ -605,6 +657,7 @@ class CfnSlackChannelConfiguration(
605
657
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
606
658
  logging_level: typing.Optional[builtins.str] = None,
607
659
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
660
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
608
661
  user_role_required: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
609
662
  ) -> None:
610
663
  '''
@@ -617,6 +670,7 @@ class CfnSlackChannelConfiguration(
617
670
  :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.
618
671
  :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"
619
672
  :param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to AWS Chatbot .
673
+ :param tags: The tags to add to the configuration.
620
674
  :param user_role_required: Enables use of a user role requirement in your chat configuration. Default: - false
621
675
  '''
622
676
  if __debug__:
@@ -631,6 +685,7 @@ class CfnSlackChannelConfiguration(
631
685
  guardrail_policies=guardrail_policies,
632
686
  logging_level=logging_level,
633
687
  sns_topic_arns=sns_topic_arns,
688
+ tags=tags,
634
689
  user_role_required=user_role_required,
635
690
  )
636
691
 
@@ -675,6 +730,12 @@ class CfnSlackChannelConfiguration(
675
730
  '''
676
731
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
677
732
 
733
+ @builtins.property
734
+ @jsii.member(jsii_name="cdkTagManager")
735
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
736
+ '''Tag Manager which manages the tags for this resource.'''
737
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
738
+
678
739
  @builtins.property
679
740
  @jsii.member(jsii_name="cfnProperties")
680
741
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -777,6 +838,19 @@ class CfnSlackChannelConfiguration(
777
838
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
778
839
  jsii.set(self, "snsTopicArns", value)
779
840
 
841
+ @builtins.property
842
+ @jsii.member(jsii_name="tags")
843
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
844
+ '''The tags to add to the configuration.'''
845
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
846
+
847
+ @tags.setter
848
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
849
+ if __debug__:
850
+ type_hints = typing.get_type_hints(_typecheckingstub__eb9439037db7df11093794999deef5e51f41aae61f9736ab360d263ab9859fd6)
851
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
852
+ jsii.set(self, "tags", value)
853
+
780
854
  @builtins.property
781
855
  @jsii.member(jsii_name="userRoleRequired")
782
856
  def user_role_required(
@@ -807,6 +881,7 @@ class CfnSlackChannelConfiguration(
807
881
  "guardrail_policies": "guardrailPolicies",
808
882
  "logging_level": "loggingLevel",
809
883
  "sns_topic_arns": "snsTopicArns",
884
+ "tags": "tags",
810
885
  "user_role_required": "userRoleRequired",
811
886
  },
812
887
  )
@@ -821,6 +896,7 @@ class CfnSlackChannelConfigurationProps:
821
896
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
822
897
  logging_level: typing.Optional[builtins.str] = None,
823
898
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
899
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
824
900
  user_role_required: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
825
901
  ) -> None:
826
902
  '''Properties for defining a ``CfnSlackChannelConfiguration``.
@@ -832,6 +908,7 @@ class CfnSlackChannelConfigurationProps:
832
908
  :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.
833
909
  :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"
834
910
  :param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to AWS Chatbot .
911
+ :param tags: The tags to add to the configuration.
835
912
  :param user_role_required: Enables use of a user role requirement in your chat configuration. Default: - false
836
913
 
837
914
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html
@@ -853,6 +930,10 @@ class CfnSlackChannelConfigurationProps:
853
930
  guardrail_policies=["guardrailPolicies"],
854
931
  logging_level="loggingLevel",
855
932
  sns_topic_arns=["snsTopicArns"],
933
+ tags=[CfnTag(
934
+ key="key",
935
+ value="value"
936
+ )],
856
937
  user_role_required=False
857
938
  )
858
939
  '''
@@ -865,6 +946,7 @@ class CfnSlackChannelConfigurationProps:
865
946
  check_type(argname="argument guardrail_policies", value=guardrail_policies, expected_type=type_hints["guardrail_policies"])
866
947
  check_type(argname="argument logging_level", value=logging_level, expected_type=type_hints["logging_level"])
867
948
  check_type(argname="argument sns_topic_arns", value=sns_topic_arns, expected_type=type_hints["sns_topic_arns"])
949
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
868
950
  check_type(argname="argument user_role_required", value=user_role_required, expected_type=type_hints["user_role_required"])
869
951
  self._values: typing.Dict[builtins.str, typing.Any] = {
870
952
  "configuration_name": configuration_name,
@@ -878,6 +960,8 @@ class CfnSlackChannelConfigurationProps:
878
960
  self._values["logging_level"] = logging_level
879
961
  if sns_topic_arns is not None:
880
962
  self._values["sns_topic_arns"] = sns_topic_arns
963
+ if tags is not None:
964
+ self._values["tags"] = tags
881
965
  if user_role_required is not None:
882
966
  self._values["user_role_required"] = user_role_required
883
967
 
@@ -960,6 +1044,15 @@ class CfnSlackChannelConfigurationProps:
960
1044
  result = self._values.get("sns_topic_arns")
961
1045
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
962
1046
 
1047
+ @builtins.property
1048
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1049
+ '''The tags to add to the configuration.
1050
+
1051
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-tags
1052
+ '''
1053
+ result = self._values.get("tags")
1054
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
1055
+
963
1056
  @builtins.property
964
1057
  def user_role_required(
965
1058
  self,
@@ -1650,6 +1743,7 @@ def _typecheckingstub__62f6b943071fca79376376fd20660d7b707a1026a9039a0c12c88895d
1650
1743
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
1651
1744
  logging_level: typing.Optional[builtins.str] = None,
1652
1745
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
1746
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1653
1747
  user_role_required: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1654
1748
  ) -> None:
1655
1749
  """Type checking stubs"""
@@ -1715,6 +1809,12 @@ def _typecheckingstub__d06bfa455d3724be650436a618deed393ddc0dbcd35406db1f888de73
1715
1809
  """Type checking stubs"""
1716
1810
  pass
1717
1811
 
1812
+ def _typecheckingstub__85a622952d9fea475beb11aa3753f5147c076bc04254dc91a4dbc14ee94b8b42(
1813
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
1814
+ ) -> None:
1815
+ """Type checking stubs"""
1816
+ pass
1817
+
1718
1818
  def _typecheckingstub__0a5171a48ffb0d6c3dc8bec2e5eb8774e5e34370819690e508928a264f6e7eda(
1719
1819
  value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
1720
1820
  ) -> None:
@@ -1731,6 +1831,7 @@ def _typecheckingstub__2750e06a244ed0f59003e9954924d4cdea272b2fc67dda92574fc40bd
1731
1831
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
1732
1832
  logging_level: typing.Optional[builtins.str] = None,
1733
1833
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
1834
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1734
1835
  user_role_required: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1735
1836
  ) -> None:
1736
1837
  """Type checking stubs"""
@@ -1747,6 +1848,7 @@ def _typecheckingstub__1cb3844509a8f0685c3dc0d26d5014fa028976d66c5d0a8984e8284bb
1747
1848
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
1748
1849
  logging_level: typing.Optional[builtins.str] = None,
1749
1850
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
1851
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1750
1852
  user_role_required: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1751
1853
  ) -> None:
1752
1854
  """Type checking stubs"""
@@ -1806,6 +1908,12 @@ def _typecheckingstub__a484a8dbfe21a414edd0bce1d876d84d2ebba782d953f75cc942e74a5
1806
1908
  """Type checking stubs"""
1807
1909
  pass
1808
1910
 
1911
+ def _typecheckingstub__eb9439037db7df11093794999deef5e51f41aae61f9736ab360d263ab9859fd6(
1912
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
1913
+ ) -> None:
1914
+ """Type checking stubs"""
1915
+ pass
1916
+
1809
1917
  def _typecheckingstub__4fdcebb1f70802057ca456714a5cc7c631ffe294962d8635781dfb0f0a08776f(
1810
1918
  value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
1811
1919
  ) -> None:
@@ -1821,6 +1929,7 @@ def _typecheckingstub__277f742a3921d9599de6f4a85fd399fb4b6654557393ff7889e5e52f5
1821
1929
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
1822
1930
  logging_level: typing.Optional[builtins.str] = None,
1823
1931
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
1932
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1824
1933
  user_role_required: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1825
1934
  ) -> None:
1826
1935
  """Type checking stubs"""