aws-cdk-lib 2.171.0__py3-none-any.whl → 2.172.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.

Files changed (47) hide show
  1. aws_cdk/__init__.py +471 -161
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.171.0.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +1314 -124
  5. aws_cdk/aws_appsync/__init__.py +159 -136
  6. aws_cdk/aws_autoscaling/__init__.py +81 -24
  7. aws_cdk/aws_bedrock/__init__.py +48 -0
  8. aws_cdk/aws_chatbot/__init__.py +775 -0
  9. aws_cdk/aws_cloudformation/__init__.py +240 -159
  10. aws_cdk/aws_cloudfront/__init__.py +11 -5
  11. aws_cdk/aws_cloudtrail/__init__.py +753 -0
  12. aws_cdk/aws_cognito/__init__.py +825 -4
  13. aws_cdk/aws_connect/__init__.py +429 -0
  14. aws_cdk/aws_customerprofiles/__init__.py +3148 -0
  15. aws_cdk/aws_ec2/__init__.py +872 -5
  16. aws_cdk/aws_ecs/__init__.py +12 -7
  17. aws_cdk/aws_eks/__init__.py +709 -0
  18. aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
  19. aws_cdk/aws_events/__init__.py +515 -8
  20. aws_cdk/aws_iot/__init__.py +42 -4
  21. aws_cdk/aws_iotfleetwise/__init__.py +510 -0
  22. aws_cdk/aws_iotsitewise/__init__.py +156 -0
  23. aws_cdk/aws_lambda/__init__.py +14 -8
  24. aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
  25. aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
  26. aws_cdk/aws_m2/__init__.py +289 -0
  27. aws_cdk/aws_mwaa/__init__.py +6 -6
  28. aws_cdk/aws_opensearchserverless/__init__.py +249 -1
  29. aws_cdk/aws_pipes/__init__.py +14 -30
  30. aws_cdk/aws_qbusiness/__init__.py +3 -1
  31. aws_cdk/aws_quicksight/__init__.py +8270 -10
  32. aws_cdk/aws_rbin/__init__.py +53 -34
  33. aws_cdk/aws_rds/__init__.py +140 -8
  34. aws_cdk/aws_resourcegroups/__init__.py +349 -0
  35. aws_cdk/aws_route53_targets/__init__.py +82 -0
  36. aws_cdk/aws_route53resolver/__init__.py +15 -6
  37. aws_cdk/aws_s3express/__init__.py +403 -2
  38. aws_cdk/aws_sagemaker/__init__.py +124 -112
  39. aws_cdk/aws_ses/__init__.py +79 -41
  40. aws_cdk/aws_wisdom/__init__.py +4713 -172
  41. aws_cdk/aws_workspacesweb/__init__.py +1024 -0
  42. {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
  43. {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
  44. {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
  45. {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
  46. {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
  47. {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
@@ -134,6 +134,599 @@ from ..aws_logs import (
134
134
  from ..aws_sns import ITopic as _ITopic_9eca4852
135
135
 
136
136
 
137
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
138
+ class CfnCustomAction(
139
+ _CfnResource_9df397a6,
140
+ metaclass=jsii.JSIIMeta,
141
+ jsii_type="aws-cdk-lib.aws_chatbot.CfnCustomAction",
142
+ ):
143
+ '''Definition of AWS::Chatbot::CustomAction Resource Type.
144
+
145
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html
146
+ :cloudformationResource: AWS::Chatbot::CustomAction
147
+ :exampleMetadata: fixture=_generated
148
+
149
+ Example::
150
+
151
+ # The code below shows an example of how to instantiate this type.
152
+ # The values are placeholders you should change.
153
+ from aws_cdk import aws_chatbot as chatbot
154
+
155
+ cfn_custom_action = chatbot.CfnCustomAction(self, "MyCfnCustomAction",
156
+ action_name="actionName",
157
+ definition=chatbot.CfnCustomAction.CustomActionDefinitionProperty(
158
+ command_text="commandText"
159
+ ),
160
+
161
+ # the properties below are optional
162
+ alias_name="aliasName",
163
+ attachments=[chatbot.CfnCustomAction.CustomActionAttachmentProperty(
164
+ button_text="buttonText",
165
+ criteria=[chatbot.CfnCustomAction.CustomActionAttachmentCriteriaProperty(
166
+ operator="operator",
167
+ variable_name="variableName",
168
+
169
+ # the properties below are optional
170
+ value="value"
171
+ )],
172
+ notification_type="notificationType",
173
+ variables={
174
+ "variables_key": "variables"
175
+ }
176
+ )],
177
+ tags=[CfnTag(
178
+ key="key",
179
+ value="value"
180
+ )]
181
+ )
182
+ '''
183
+
184
+ def __init__(
185
+ self,
186
+ scope: _constructs_77d1e7e8.Construct,
187
+ id: builtins.str,
188
+ *,
189
+ action_name: builtins.str,
190
+ definition: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCustomAction.CustomActionDefinitionProperty", typing.Dict[builtins.str, typing.Any]]],
191
+ alias_name: typing.Optional[builtins.str] = None,
192
+ attachments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCustomAction.CustomActionAttachmentProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
193
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
194
+ ) -> None:
195
+ '''
196
+ :param scope: Scope in which this resource is defined.
197
+ :param id: Construct identifier for this resource (unique in its scope).
198
+ :param action_name:
199
+ :param definition:
200
+ :param alias_name:
201
+ :param attachments:
202
+ :param tags:
203
+ '''
204
+ if __debug__:
205
+ type_hints = typing.get_type_hints(_typecheckingstub__4840384b6e4d8bb56afed06983751f4092ececfe9720ea514abb1728770b507a)
206
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
207
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
208
+ props = CfnCustomActionProps(
209
+ action_name=action_name,
210
+ definition=definition,
211
+ alias_name=alias_name,
212
+ attachments=attachments,
213
+ tags=tags,
214
+ )
215
+
216
+ jsii.create(self.__class__, self, [scope, id, props])
217
+
218
+ @jsii.member(jsii_name="inspect")
219
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
220
+ '''Examines the CloudFormation resource and discloses attributes.
221
+
222
+ :param inspector: tree inspector to collect and process attributes.
223
+ '''
224
+ if __debug__:
225
+ type_hints = typing.get_type_hints(_typecheckingstub__44267bc9ce7cc2f3773138acc4718fe9e74ff7aacb67eedf1ef50ff399714ce2)
226
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
227
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
228
+
229
+ @jsii.member(jsii_name="renderProperties")
230
+ def _render_properties(
231
+ self,
232
+ props: typing.Mapping[builtins.str, typing.Any],
233
+ ) -> typing.Mapping[builtins.str, typing.Any]:
234
+ '''
235
+ :param props: -
236
+ '''
237
+ if __debug__:
238
+ type_hints = typing.get_type_hints(_typecheckingstub__9a0419a3f98385f838d84777f3b3e06cd478e179f352ab493b9b5dc51f9ab196)
239
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
240
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
241
+
242
+ @jsii.python.classproperty
243
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
244
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
245
+ '''The CloudFormation resource type name for this resource class.'''
246
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
247
+
248
+ @builtins.property
249
+ @jsii.member(jsii_name="attrCustomActionArn")
250
+ def attr_custom_action_arn(self) -> builtins.str:
251
+ '''
252
+ :cloudformationAttribute: CustomActionArn
253
+ '''
254
+ return typing.cast(builtins.str, jsii.get(self, "attrCustomActionArn"))
255
+
256
+ @builtins.property
257
+ @jsii.member(jsii_name="cdkTagManager")
258
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
259
+ '''Tag Manager which manages the tags for this resource.'''
260
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
261
+
262
+ @builtins.property
263
+ @jsii.member(jsii_name="cfnProperties")
264
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
265
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
266
+
267
+ @builtins.property
268
+ @jsii.member(jsii_name="actionName")
269
+ def action_name(self) -> builtins.str:
270
+ return typing.cast(builtins.str, jsii.get(self, "actionName"))
271
+
272
+ @action_name.setter
273
+ def action_name(self, value: builtins.str) -> None:
274
+ if __debug__:
275
+ type_hints = typing.get_type_hints(_typecheckingstub__971c2cee7a293449df3b3419302728ec27df82ae1516daa5cb2c681996802476)
276
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
277
+ jsii.set(self, "actionName", value) # pyright: ignore[reportArgumentType]
278
+
279
+ @builtins.property
280
+ @jsii.member(jsii_name="definition")
281
+ def definition(
282
+ self,
283
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnCustomAction.CustomActionDefinitionProperty"]:
284
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCustomAction.CustomActionDefinitionProperty"], jsii.get(self, "definition"))
285
+
286
+ @definition.setter
287
+ def definition(
288
+ self,
289
+ value: typing.Union[_IResolvable_da3f097b, "CfnCustomAction.CustomActionDefinitionProperty"],
290
+ ) -> None:
291
+ if __debug__:
292
+ type_hints = typing.get_type_hints(_typecheckingstub__41389535b5493837a09f1517d05c57d5124e60def0c6ed02cfa3bcacf50f356a)
293
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
294
+ jsii.set(self, "definition", value) # pyright: ignore[reportArgumentType]
295
+
296
+ @builtins.property
297
+ @jsii.member(jsii_name="aliasName")
298
+ def alias_name(self) -> typing.Optional[builtins.str]:
299
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "aliasName"))
300
+
301
+ @alias_name.setter
302
+ def alias_name(self, value: typing.Optional[builtins.str]) -> None:
303
+ if __debug__:
304
+ type_hints = typing.get_type_hints(_typecheckingstub__41def85ca04f9b6e2f09a7a4a94dcbf48f41f3f42b20008ab0c8375fde71a577)
305
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
306
+ jsii.set(self, "aliasName", value) # pyright: ignore[reportArgumentType]
307
+
308
+ @builtins.property
309
+ @jsii.member(jsii_name="attachments")
310
+ def attachments(
311
+ self,
312
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCustomAction.CustomActionAttachmentProperty"]]]]:
313
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCustomAction.CustomActionAttachmentProperty"]]]], jsii.get(self, "attachments"))
314
+
315
+ @attachments.setter
316
+ def attachments(
317
+ self,
318
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCustomAction.CustomActionAttachmentProperty"]]]],
319
+ ) -> None:
320
+ if __debug__:
321
+ type_hints = typing.get_type_hints(_typecheckingstub__25bc30f27dad9105e157414d8573ef4725c2cbb4c8f636ccff8d8cd488d751ad)
322
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
323
+ jsii.set(self, "attachments", value) # pyright: ignore[reportArgumentType]
324
+
325
+ @builtins.property
326
+ @jsii.member(jsii_name="tags")
327
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
328
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
329
+
330
+ @tags.setter
331
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
332
+ if __debug__:
333
+ type_hints = typing.get_type_hints(_typecheckingstub__072e325a0c2ec8c68fa22d9b8fcacb74cdefc302e246f675cb7d82f02d9c1ad8)
334
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
335
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
336
+
337
+ @jsii.data_type(
338
+ jsii_type="aws-cdk-lib.aws_chatbot.CfnCustomAction.CustomActionAttachmentCriteriaProperty",
339
+ jsii_struct_bases=[],
340
+ name_mapping={
341
+ "operator": "operator",
342
+ "variable_name": "variableName",
343
+ "value": "value",
344
+ },
345
+ )
346
+ class CustomActionAttachmentCriteriaProperty:
347
+ def __init__(
348
+ self,
349
+ *,
350
+ operator: builtins.str,
351
+ variable_name: builtins.str,
352
+ value: typing.Optional[builtins.str] = None,
353
+ ) -> None:
354
+ '''
355
+ :param operator:
356
+ :param variable_name:
357
+ :param value:
358
+
359
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachmentcriteria.html
360
+ :exampleMetadata: fixture=_generated
361
+
362
+ Example::
363
+
364
+ # The code below shows an example of how to instantiate this type.
365
+ # The values are placeholders you should change.
366
+ from aws_cdk import aws_chatbot as chatbot
367
+
368
+ custom_action_attachment_criteria_property = chatbot.CfnCustomAction.CustomActionAttachmentCriteriaProperty(
369
+ operator="operator",
370
+ variable_name="variableName",
371
+
372
+ # the properties below are optional
373
+ value="value"
374
+ )
375
+ '''
376
+ if __debug__:
377
+ type_hints = typing.get_type_hints(_typecheckingstub__17b54705e9e5c87338c9cd62b14232db30553ead6d15838b291a8bfefa82cd2a)
378
+ check_type(argname="argument operator", value=operator, expected_type=type_hints["operator"])
379
+ check_type(argname="argument variable_name", value=variable_name, expected_type=type_hints["variable_name"])
380
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
381
+ self._values: typing.Dict[builtins.str, typing.Any] = {
382
+ "operator": operator,
383
+ "variable_name": variable_name,
384
+ }
385
+ if value is not None:
386
+ self._values["value"] = value
387
+
388
+ @builtins.property
389
+ def operator(self) -> builtins.str:
390
+ '''
391
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachmentcriteria.html#cfn-chatbot-customaction-customactionattachmentcriteria-operator
392
+ '''
393
+ result = self._values.get("operator")
394
+ assert result is not None, "Required property 'operator' is missing"
395
+ return typing.cast(builtins.str, result)
396
+
397
+ @builtins.property
398
+ def variable_name(self) -> builtins.str:
399
+ '''
400
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachmentcriteria.html#cfn-chatbot-customaction-customactionattachmentcriteria-variablename
401
+ '''
402
+ result = self._values.get("variable_name")
403
+ assert result is not None, "Required property 'variable_name' is missing"
404
+ return typing.cast(builtins.str, result)
405
+
406
+ @builtins.property
407
+ def value(self) -> typing.Optional[builtins.str]:
408
+ '''
409
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachmentcriteria.html#cfn-chatbot-customaction-customactionattachmentcriteria-value
410
+ '''
411
+ result = self._values.get("value")
412
+ return typing.cast(typing.Optional[builtins.str], result)
413
+
414
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
415
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
416
+
417
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
418
+ return not (rhs == self)
419
+
420
+ def __repr__(self) -> str:
421
+ return "CustomActionAttachmentCriteriaProperty(%s)" % ", ".join(
422
+ k + "=" + repr(v) for k, v in self._values.items()
423
+ )
424
+
425
+ @jsii.data_type(
426
+ jsii_type="aws-cdk-lib.aws_chatbot.CfnCustomAction.CustomActionAttachmentProperty",
427
+ jsii_struct_bases=[],
428
+ name_mapping={
429
+ "button_text": "buttonText",
430
+ "criteria": "criteria",
431
+ "notification_type": "notificationType",
432
+ "variables": "variables",
433
+ },
434
+ )
435
+ class CustomActionAttachmentProperty:
436
+ def __init__(
437
+ self,
438
+ *,
439
+ button_text: typing.Optional[builtins.str] = None,
440
+ criteria: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCustomAction.CustomActionAttachmentCriteriaProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
441
+ notification_type: typing.Optional[builtins.str] = None,
442
+ variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
443
+ ) -> None:
444
+ '''
445
+ :param button_text:
446
+ :param criteria:
447
+ :param notification_type:
448
+ :param variables:
449
+
450
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html
451
+ :exampleMetadata: fixture=_generated
452
+
453
+ Example::
454
+
455
+ # The code below shows an example of how to instantiate this type.
456
+ # The values are placeholders you should change.
457
+ from aws_cdk import aws_chatbot as chatbot
458
+
459
+ custom_action_attachment_property = chatbot.CfnCustomAction.CustomActionAttachmentProperty(
460
+ button_text="buttonText",
461
+ criteria=[chatbot.CfnCustomAction.CustomActionAttachmentCriteriaProperty(
462
+ operator="operator",
463
+ variable_name="variableName",
464
+
465
+ # the properties below are optional
466
+ value="value"
467
+ )],
468
+ notification_type="notificationType",
469
+ variables={
470
+ "variables_key": "variables"
471
+ }
472
+ )
473
+ '''
474
+ if __debug__:
475
+ type_hints = typing.get_type_hints(_typecheckingstub__bdfcc4d3117af4232f6317084ca1888fc93a1fa63045afd0834da2fec394ccdf)
476
+ check_type(argname="argument button_text", value=button_text, expected_type=type_hints["button_text"])
477
+ check_type(argname="argument criteria", value=criteria, expected_type=type_hints["criteria"])
478
+ check_type(argname="argument notification_type", value=notification_type, expected_type=type_hints["notification_type"])
479
+ check_type(argname="argument variables", value=variables, expected_type=type_hints["variables"])
480
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
481
+ if button_text is not None:
482
+ self._values["button_text"] = button_text
483
+ if criteria is not None:
484
+ self._values["criteria"] = criteria
485
+ if notification_type is not None:
486
+ self._values["notification_type"] = notification_type
487
+ if variables is not None:
488
+ self._values["variables"] = variables
489
+
490
+ @builtins.property
491
+ def button_text(self) -> typing.Optional[builtins.str]:
492
+ '''
493
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html#cfn-chatbot-customaction-customactionattachment-buttontext
494
+ '''
495
+ result = self._values.get("button_text")
496
+ return typing.cast(typing.Optional[builtins.str], result)
497
+
498
+ @builtins.property
499
+ def criteria(
500
+ self,
501
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCustomAction.CustomActionAttachmentCriteriaProperty"]]]]:
502
+ '''
503
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html#cfn-chatbot-customaction-customactionattachment-criteria
504
+ '''
505
+ result = self._values.get("criteria")
506
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCustomAction.CustomActionAttachmentCriteriaProperty"]]]], result)
507
+
508
+ @builtins.property
509
+ def notification_type(self) -> typing.Optional[builtins.str]:
510
+ '''
511
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html#cfn-chatbot-customaction-customactionattachment-notificationtype
512
+ '''
513
+ result = self._values.get("notification_type")
514
+ return typing.cast(typing.Optional[builtins.str], result)
515
+
516
+ @builtins.property
517
+ def variables(
518
+ self,
519
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
520
+ '''
521
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html#cfn-chatbot-customaction-customactionattachment-variables
522
+ '''
523
+ result = self._values.get("variables")
524
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
525
+
526
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
527
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
528
+
529
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
530
+ return not (rhs == self)
531
+
532
+ def __repr__(self) -> str:
533
+ return "CustomActionAttachmentProperty(%s)" % ", ".join(
534
+ k + "=" + repr(v) for k, v in self._values.items()
535
+ )
536
+
537
+ @jsii.data_type(
538
+ jsii_type="aws-cdk-lib.aws_chatbot.CfnCustomAction.CustomActionDefinitionProperty",
539
+ jsii_struct_bases=[],
540
+ name_mapping={"command_text": "commandText"},
541
+ )
542
+ class CustomActionDefinitionProperty:
543
+ def __init__(self, *, command_text: builtins.str) -> None:
544
+ '''
545
+ :param command_text:
546
+
547
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactiondefinition.html
548
+ :exampleMetadata: fixture=_generated
549
+
550
+ Example::
551
+
552
+ # The code below shows an example of how to instantiate this type.
553
+ # The values are placeholders you should change.
554
+ from aws_cdk import aws_chatbot as chatbot
555
+
556
+ custom_action_definition_property = chatbot.CfnCustomAction.CustomActionDefinitionProperty(
557
+ command_text="commandText"
558
+ )
559
+ '''
560
+ if __debug__:
561
+ type_hints = typing.get_type_hints(_typecheckingstub__66cde35b29d23cf11cd686434f577e4de7a67224bbebe46b5c31d744e321be5f)
562
+ check_type(argname="argument command_text", value=command_text, expected_type=type_hints["command_text"])
563
+ self._values: typing.Dict[builtins.str, typing.Any] = {
564
+ "command_text": command_text,
565
+ }
566
+
567
+ @builtins.property
568
+ def command_text(self) -> builtins.str:
569
+ '''
570
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactiondefinition.html#cfn-chatbot-customaction-customactiondefinition-commandtext
571
+ '''
572
+ result = self._values.get("command_text")
573
+ assert result is not None, "Required property 'command_text' is missing"
574
+ return typing.cast(builtins.str, result)
575
+
576
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
577
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
578
+
579
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
580
+ return not (rhs == self)
581
+
582
+ def __repr__(self) -> str:
583
+ return "CustomActionDefinitionProperty(%s)" % ", ".join(
584
+ k + "=" + repr(v) for k, v in self._values.items()
585
+ )
586
+
587
+
588
+ @jsii.data_type(
589
+ jsii_type="aws-cdk-lib.aws_chatbot.CfnCustomActionProps",
590
+ jsii_struct_bases=[],
591
+ name_mapping={
592
+ "action_name": "actionName",
593
+ "definition": "definition",
594
+ "alias_name": "aliasName",
595
+ "attachments": "attachments",
596
+ "tags": "tags",
597
+ },
598
+ )
599
+ class CfnCustomActionProps:
600
+ def __init__(
601
+ self,
602
+ *,
603
+ action_name: builtins.str,
604
+ definition: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCustomAction.CustomActionDefinitionProperty, typing.Dict[builtins.str, typing.Any]]],
605
+ alias_name: typing.Optional[builtins.str] = None,
606
+ attachments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCustomAction.CustomActionAttachmentProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
607
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
608
+ ) -> None:
609
+ '''Properties for defining a ``CfnCustomAction``.
610
+
611
+ :param action_name:
612
+ :param definition:
613
+ :param alias_name:
614
+ :param attachments:
615
+ :param tags:
616
+
617
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html
618
+ :exampleMetadata: fixture=_generated
619
+
620
+ Example::
621
+
622
+ # The code below shows an example of how to instantiate this type.
623
+ # The values are placeholders you should change.
624
+ from aws_cdk import aws_chatbot as chatbot
625
+
626
+ cfn_custom_action_props = chatbot.CfnCustomActionProps(
627
+ action_name="actionName",
628
+ definition=chatbot.CfnCustomAction.CustomActionDefinitionProperty(
629
+ command_text="commandText"
630
+ ),
631
+
632
+ # the properties below are optional
633
+ alias_name="aliasName",
634
+ attachments=[chatbot.CfnCustomAction.CustomActionAttachmentProperty(
635
+ button_text="buttonText",
636
+ criteria=[chatbot.CfnCustomAction.CustomActionAttachmentCriteriaProperty(
637
+ operator="operator",
638
+ variable_name="variableName",
639
+
640
+ # the properties below are optional
641
+ value="value"
642
+ )],
643
+ notification_type="notificationType",
644
+ variables={
645
+ "variables_key": "variables"
646
+ }
647
+ )],
648
+ tags=[CfnTag(
649
+ key="key",
650
+ value="value"
651
+ )]
652
+ )
653
+ '''
654
+ if __debug__:
655
+ type_hints = typing.get_type_hints(_typecheckingstub__a095b5f2109b264f6833c68a2c4a07e415cda11bd116b007cb26fff0c148d24d)
656
+ check_type(argname="argument action_name", value=action_name, expected_type=type_hints["action_name"])
657
+ check_type(argname="argument definition", value=definition, expected_type=type_hints["definition"])
658
+ check_type(argname="argument alias_name", value=alias_name, expected_type=type_hints["alias_name"])
659
+ check_type(argname="argument attachments", value=attachments, expected_type=type_hints["attachments"])
660
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
661
+ self._values: typing.Dict[builtins.str, typing.Any] = {
662
+ "action_name": action_name,
663
+ "definition": definition,
664
+ }
665
+ if alias_name is not None:
666
+ self._values["alias_name"] = alias_name
667
+ if attachments is not None:
668
+ self._values["attachments"] = attachments
669
+ if tags is not None:
670
+ self._values["tags"] = tags
671
+
672
+ @builtins.property
673
+ def action_name(self) -> builtins.str:
674
+ '''
675
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html#cfn-chatbot-customaction-actionname
676
+ '''
677
+ result = self._values.get("action_name")
678
+ assert result is not None, "Required property 'action_name' is missing"
679
+ return typing.cast(builtins.str, result)
680
+
681
+ @builtins.property
682
+ def definition(
683
+ self,
684
+ ) -> typing.Union[_IResolvable_da3f097b, CfnCustomAction.CustomActionDefinitionProperty]:
685
+ '''
686
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html#cfn-chatbot-customaction-definition
687
+ '''
688
+ result = self._values.get("definition")
689
+ assert result is not None, "Required property 'definition' is missing"
690
+ return typing.cast(typing.Union[_IResolvable_da3f097b, CfnCustomAction.CustomActionDefinitionProperty], result)
691
+
692
+ @builtins.property
693
+ def alias_name(self) -> typing.Optional[builtins.str]:
694
+ '''
695
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html#cfn-chatbot-customaction-aliasname
696
+ '''
697
+ result = self._values.get("alias_name")
698
+ return typing.cast(typing.Optional[builtins.str], result)
699
+
700
+ @builtins.property
701
+ def attachments(
702
+ self,
703
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCustomAction.CustomActionAttachmentProperty]]]]:
704
+ '''
705
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html#cfn-chatbot-customaction-attachments
706
+ '''
707
+ result = self._values.get("attachments")
708
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCustomAction.CustomActionAttachmentProperty]]]], result)
709
+
710
+ @builtins.property
711
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
712
+ '''
713
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html#cfn-chatbot-customaction-tags
714
+ '''
715
+ result = self._values.get("tags")
716
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
717
+
718
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
719
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
720
+
721
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
722
+ return not (rhs == self)
723
+
724
+ def __repr__(self) -> str:
725
+ return "CfnCustomActionProps(%s)" % ", ".join(
726
+ k + "=" + repr(v) for k, v in self._values.items()
727
+ )
728
+
729
+
137
730
  @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
138
731
  class CfnMicrosoftTeamsChannelConfiguration(
139
732
  _CfnResource_9df397a6,
@@ -162,6 +755,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
162
755
  teams_tenant_id="teamsTenantId",
163
756
 
164
757
  # the properties below are optional
758
+ customization_resource_arns=["customizationResourceArns"],
165
759
  guardrail_policies=["guardrailPolicies"],
166
760
  logging_level="loggingLevel",
167
761
  sns_topic_arns=["snsTopicArns"],
@@ -183,6 +777,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
183
777
  team_id: builtins.str,
184
778
  teams_channel_id: builtins.str,
185
779
  teams_tenant_id: builtins.str,
780
+ customization_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
186
781
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
187
782
  logging_level: typing.Optional[builtins.str] = None,
188
783
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -197,6 +792,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
197
792
  :param team_id: The ID of the Microsoft Team authorized with AWS Chatbot . To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID 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 *AWS Chatbot Administrator Guide* .
198
793
  :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`` .
199
794
  :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 AWS Chatbot console. Then you can copy and paste the tenant ID from the console. For more details, see steps 1-4 in `Get started with Microsoft Teams <https://docs.aws.amazon.com/chatbot/latest/adminguide/teams-setup.html#teams-client-setup>`_ in the *AWS Chatbot Administrator Guide* .
795
+ :param customization_resource_arns: ARNs of Custom Actions to associate with notifications in the provided chat channel.
200
796
  :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.
201
797
  :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"
202
798
  :param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to AWS Chatbot .
@@ -213,6 +809,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
213
809
  team_id=team_id,
214
810
  teams_channel_id=teams_channel_id,
215
811
  teams_tenant_id=teams_tenant_id,
812
+ customization_resource_arns=customization_resource_arns,
216
813
  guardrail_policies=guardrail_policies,
217
814
  logging_level=logging_level,
218
815
  sns_topic_arns=sns_topic_arns,
@@ -337,6 +934,22 @@ class CfnMicrosoftTeamsChannelConfiguration(
337
934
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
338
935
  jsii.set(self, "teamsTenantId", value) # pyright: ignore[reportArgumentType]
339
936
 
937
+ @builtins.property
938
+ @jsii.member(jsii_name="customizationResourceArns")
939
+ def customization_resource_arns(self) -> typing.Optional[typing.List[builtins.str]]:
940
+ '''ARNs of Custom Actions to associate with notifications in the provided chat channel.'''
941
+ return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "customizationResourceArns"))
942
+
943
+ @customization_resource_arns.setter
944
+ def customization_resource_arns(
945
+ self,
946
+ value: typing.Optional[typing.List[builtins.str]],
947
+ ) -> None:
948
+ if __debug__:
949
+ type_hints = typing.get_type_hints(_typecheckingstub__11efc1f4b5699a2254663cde691669f1d0c162272e0d5627190665ef98affc89)
950
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
951
+ jsii.set(self, "customizationResourceArns", value) # pyright: ignore[reportArgumentType]
952
+
340
953
  @builtins.property
341
954
  @jsii.member(jsii_name="guardrailPolicies")
342
955
  def guardrail_policies(self) -> typing.Optional[typing.List[builtins.str]]:
@@ -423,6 +1036,7 @@ class CfnMicrosoftTeamsChannelConfiguration(
423
1036
  "team_id": "teamId",
424
1037
  "teams_channel_id": "teamsChannelId",
425
1038
  "teams_tenant_id": "teamsTenantId",
1039
+ "customization_resource_arns": "customizationResourceArns",
426
1040
  "guardrail_policies": "guardrailPolicies",
427
1041
  "logging_level": "loggingLevel",
428
1042
  "sns_topic_arns": "snsTopicArns",
@@ -439,6 +1053,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
439
1053
  team_id: builtins.str,
440
1054
  teams_channel_id: builtins.str,
441
1055
  teams_tenant_id: builtins.str,
1056
+ customization_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
442
1057
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
443
1058
  logging_level: typing.Optional[builtins.str] = None,
444
1059
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -452,6 +1067,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
452
1067
  :param team_id: The ID of the Microsoft Team authorized with AWS Chatbot . To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID 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 *AWS Chatbot Administrator Guide* .
453
1068
  :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`` .
454
1069
  :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 AWS Chatbot console. Then you can copy and paste the tenant ID from the console. For more details, see steps 1-4 in `Get started with Microsoft Teams <https://docs.aws.amazon.com/chatbot/latest/adminguide/teams-setup.html#teams-client-setup>`_ in the *AWS Chatbot Administrator Guide* .
1070
+ :param customization_resource_arns: ARNs of Custom Actions to associate with notifications in the provided chat channel.
455
1071
  :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.
456
1072
  :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"
457
1073
  :param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to AWS Chatbot .
@@ -475,6 +1091,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
475
1091
  teams_tenant_id="teamsTenantId",
476
1092
 
477
1093
  # the properties below are optional
1094
+ customization_resource_arns=["customizationResourceArns"],
478
1095
  guardrail_policies=["guardrailPolicies"],
479
1096
  logging_level="loggingLevel",
480
1097
  sns_topic_arns=["snsTopicArns"],
@@ -492,6 +1109,7 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
492
1109
  check_type(argname="argument team_id", value=team_id, expected_type=type_hints["team_id"])
493
1110
  check_type(argname="argument teams_channel_id", value=teams_channel_id, expected_type=type_hints["teams_channel_id"])
494
1111
  check_type(argname="argument teams_tenant_id", value=teams_tenant_id, expected_type=type_hints["teams_tenant_id"])
1112
+ check_type(argname="argument customization_resource_arns", value=customization_resource_arns, expected_type=type_hints["customization_resource_arns"])
495
1113
  check_type(argname="argument guardrail_policies", value=guardrail_policies, expected_type=type_hints["guardrail_policies"])
496
1114
  check_type(argname="argument logging_level", value=logging_level, expected_type=type_hints["logging_level"])
497
1115
  check_type(argname="argument sns_topic_arns", value=sns_topic_arns, expected_type=type_hints["sns_topic_arns"])
@@ -504,6 +1122,8 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
504
1122
  "teams_channel_id": teams_channel_id,
505
1123
  "teams_tenant_id": teams_tenant_id,
506
1124
  }
1125
+ if customization_resource_arns is not None:
1126
+ self._values["customization_resource_arns"] = customization_resource_arns
507
1127
  if guardrail_policies is not None:
508
1128
  self._values["guardrail_policies"] = guardrail_policies
509
1129
  if logging_level is not None:
@@ -573,6 +1193,15 @@ class CfnMicrosoftTeamsChannelConfigurationProps:
573
1193
  assert result is not None, "Required property 'teams_tenant_id' is missing"
574
1194
  return typing.cast(builtins.str, result)
575
1195
 
1196
+ @builtins.property
1197
+ def customization_resource_arns(self) -> typing.Optional[typing.List[builtins.str]]:
1198
+ '''ARNs of Custom Actions to associate with notifications in the provided chat channel.
1199
+
1200
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-microsoftteamschannelconfiguration.html#cfn-chatbot-microsoftteamschannelconfiguration-customizationresourcearns
1201
+ '''
1202
+ result = self._values.get("customization_resource_arns")
1203
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
1204
+
576
1205
  @builtins.property
577
1206
  def guardrail_policies(self) -> typing.Optional[typing.List[builtins.str]]:
578
1207
  '''The list of IAM policy ARNs that are applied as channel guardrails.
@@ -667,6 +1296,7 @@ class CfnSlackChannelConfiguration(
667
1296
  slack_workspace_id="slackWorkspaceId",
668
1297
 
669
1298
  # the properties below are optional
1299
+ customization_resource_arns=["customizationResourceArns"],
670
1300
  guardrail_policies=["guardrailPolicies"],
671
1301
  logging_level="loggingLevel",
672
1302
  sns_topic_arns=["snsTopicArns"],
@@ -687,6 +1317,7 @@ class CfnSlackChannelConfiguration(
687
1317
  iam_role_arn: builtins.str,
688
1318
  slack_channel_id: builtins.str,
689
1319
  slack_workspace_id: builtins.str,
1320
+ customization_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
690
1321
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
691
1322
  logging_level: typing.Optional[builtins.str] = None,
692
1323
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -700,6 +1331,7 @@ class CfnSlackChannelConfiguration(
700
1331
  :param iam_role_arn: The ARN of the IAM role that defines the permissions for AWS Chatbot . This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see `IAM Policies for AWS Chatbot <https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html>`_ .
701
1332
  :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`` .
702
1333
  :param slack_workspace_id: The ID of the Slack workspace authorized with AWS Chatbot . To get the workspace ID, you must perform the initial authorization flow with Slack in the AWS Chatbot 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>`_ in the *AWS Chatbot User Guide* .
1334
+ :param customization_resource_arns: ARNs of Custom Actions to associate with notifications in the provided chat channel.
703
1335
  :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.
704
1336
  :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"
705
1337
  :param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to AWS Chatbot .
@@ -715,6 +1347,7 @@ class CfnSlackChannelConfiguration(
715
1347
  iam_role_arn=iam_role_arn,
716
1348
  slack_channel_id=slack_channel_id,
717
1349
  slack_workspace_id=slack_workspace_id,
1350
+ customization_resource_arns=customization_resource_arns,
718
1351
  guardrail_policies=guardrail_policies,
719
1352
  logging_level=logging_level,
720
1353
  sns_topic_arns=sns_topic_arns,
@@ -826,6 +1459,22 @@ class CfnSlackChannelConfiguration(
826
1459
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
827
1460
  jsii.set(self, "slackWorkspaceId", value) # pyright: ignore[reportArgumentType]
828
1461
 
1462
+ @builtins.property
1463
+ @jsii.member(jsii_name="customizationResourceArns")
1464
+ def customization_resource_arns(self) -> typing.Optional[typing.List[builtins.str]]:
1465
+ '''ARNs of Custom Actions to associate with notifications in the provided chat channel.'''
1466
+ return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "customizationResourceArns"))
1467
+
1468
+ @customization_resource_arns.setter
1469
+ def customization_resource_arns(
1470
+ self,
1471
+ value: typing.Optional[typing.List[builtins.str]],
1472
+ ) -> None:
1473
+ if __debug__:
1474
+ type_hints = typing.get_type_hints(_typecheckingstub__d0d0439ef3a58ce5c9660cc070abad2db1860848733177ed530f90e5b2c5aa14)
1475
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1476
+ jsii.set(self, "customizationResourceArns", value) # pyright: ignore[reportArgumentType]
1477
+
829
1478
  @builtins.property
830
1479
  @jsii.member(jsii_name="guardrailPolicies")
831
1480
  def guardrail_policies(self) -> typing.Optional[typing.List[builtins.str]]:
@@ -911,6 +1560,7 @@ class CfnSlackChannelConfiguration(
911
1560
  "iam_role_arn": "iamRoleArn",
912
1561
  "slack_channel_id": "slackChannelId",
913
1562
  "slack_workspace_id": "slackWorkspaceId",
1563
+ "customization_resource_arns": "customizationResourceArns",
914
1564
  "guardrail_policies": "guardrailPolicies",
915
1565
  "logging_level": "loggingLevel",
916
1566
  "sns_topic_arns": "snsTopicArns",
@@ -926,6 +1576,7 @@ class CfnSlackChannelConfigurationProps:
926
1576
  iam_role_arn: builtins.str,
927
1577
  slack_channel_id: builtins.str,
928
1578
  slack_workspace_id: builtins.str,
1579
+ customization_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
929
1580
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
930
1581
  logging_level: typing.Optional[builtins.str] = None,
931
1582
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -938,6 +1589,7 @@ class CfnSlackChannelConfigurationProps:
938
1589
  :param iam_role_arn: The ARN of the IAM role that defines the permissions for AWS Chatbot . This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see `IAM Policies for AWS Chatbot <https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html>`_ .
939
1590
  :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`` .
940
1591
  :param slack_workspace_id: The ID of the Slack workspace authorized with AWS Chatbot . To get the workspace ID, you must perform the initial authorization flow with Slack in the AWS Chatbot 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>`_ in the *AWS Chatbot User Guide* .
1592
+ :param customization_resource_arns: ARNs of Custom Actions to associate with notifications in the provided chat channel.
941
1593
  :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.
942
1594
  :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"
943
1595
  :param sns_topic_arns: The ARNs of the SNS topics that deliver notifications to AWS Chatbot .
@@ -960,6 +1612,7 @@ class CfnSlackChannelConfigurationProps:
960
1612
  slack_workspace_id="slackWorkspaceId",
961
1613
 
962
1614
  # the properties below are optional
1615
+ customization_resource_arns=["customizationResourceArns"],
963
1616
  guardrail_policies=["guardrailPolicies"],
964
1617
  logging_level="loggingLevel",
965
1618
  sns_topic_arns=["snsTopicArns"],
@@ -976,6 +1629,7 @@ class CfnSlackChannelConfigurationProps:
976
1629
  check_type(argname="argument iam_role_arn", value=iam_role_arn, expected_type=type_hints["iam_role_arn"])
977
1630
  check_type(argname="argument slack_channel_id", value=slack_channel_id, expected_type=type_hints["slack_channel_id"])
978
1631
  check_type(argname="argument slack_workspace_id", value=slack_workspace_id, expected_type=type_hints["slack_workspace_id"])
1632
+ check_type(argname="argument customization_resource_arns", value=customization_resource_arns, expected_type=type_hints["customization_resource_arns"])
979
1633
  check_type(argname="argument guardrail_policies", value=guardrail_policies, expected_type=type_hints["guardrail_policies"])
980
1634
  check_type(argname="argument logging_level", value=logging_level, expected_type=type_hints["logging_level"])
981
1635
  check_type(argname="argument sns_topic_arns", value=sns_topic_arns, expected_type=type_hints["sns_topic_arns"])
@@ -987,6 +1641,8 @@ class CfnSlackChannelConfigurationProps:
987
1641
  "slack_channel_id": slack_channel_id,
988
1642
  "slack_workspace_id": slack_workspace_id,
989
1643
  }
1644
+ if customization_resource_arns is not None:
1645
+ self._values["customization_resource_arns"] = customization_resource_arns
990
1646
  if guardrail_policies is not None:
991
1647
  self._values["guardrail_policies"] = guardrail_policies
992
1648
  if logging_level is not None:
@@ -1044,6 +1700,15 @@ class CfnSlackChannelConfigurationProps:
1044
1700
  assert result is not None, "Required property 'slack_workspace_id' is missing"
1045
1701
  return typing.cast(builtins.str, result)
1046
1702
 
1703
+ @builtins.property
1704
+ def customization_resource_arns(self) -> typing.Optional[typing.List[builtins.str]]:
1705
+ '''ARNs of Custom Actions to associate with notifications in the provided chat channel.
1706
+
1707
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-customizationresourcearns
1708
+ '''
1709
+ result = self._values.get("customization_resource_arns")
1710
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
1711
+
1047
1712
  @builtins.property
1048
1713
  def guardrail_policies(self) -> typing.Optional[typing.List[builtins.str]]:
1049
1714
  '''The list of IAM policy ARNs that are applied as channel guardrails.
@@ -1770,6 +2435,8 @@ class SlackChannelConfigurationProps:
1770
2435
 
1771
2436
 
1772
2437
  __all__ = [
2438
+ "CfnCustomAction",
2439
+ "CfnCustomActionProps",
1773
2440
  "CfnMicrosoftTeamsChannelConfiguration",
1774
2441
  "CfnMicrosoftTeamsChannelConfigurationProps",
1775
2442
  "CfnSlackChannelConfiguration",
@@ -1782,6 +2449,98 @@ __all__ = [
1782
2449
 
1783
2450
  publication.publish()
1784
2451
 
2452
+ def _typecheckingstub__4840384b6e4d8bb56afed06983751f4092ececfe9720ea514abb1728770b507a(
2453
+ scope: _constructs_77d1e7e8.Construct,
2454
+ id: builtins.str,
2455
+ *,
2456
+ action_name: builtins.str,
2457
+ definition: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCustomAction.CustomActionDefinitionProperty, typing.Dict[builtins.str, typing.Any]]],
2458
+ alias_name: typing.Optional[builtins.str] = None,
2459
+ attachments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCustomAction.CustomActionAttachmentProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2460
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2461
+ ) -> None:
2462
+ """Type checking stubs"""
2463
+ pass
2464
+
2465
+ def _typecheckingstub__44267bc9ce7cc2f3773138acc4718fe9e74ff7aacb67eedf1ef50ff399714ce2(
2466
+ inspector: _TreeInspector_488e0dd5,
2467
+ ) -> None:
2468
+ """Type checking stubs"""
2469
+ pass
2470
+
2471
+ def _typecheckingstub__9a0419a3f98385f838d84777f3b3e06cd478e179f352ab493b9b5dc51f9ab196(
2472
+ props: typing.Mapping[builtins.str, typing.Any],
2473
+ ) -> None:
2474
+ """Type checking stubs"""
2475
+ pass
2476
+
2477
+ def _typecheckingstub__971c2cee7a293449df3b3419302728ec27df82ae1516daa5cb2c681996802476(
2478
+ value: builtins.str,
2479
+ ) -> None:
2480
+ """Type checking stubs"""
2481
+ pass
2482
+
2483
+ def _typecheckingstub__41389535b5493837a09f1517d05c57d5124e60def0c6ed02cfa3bcacf50f356a(
2484
+ value: typing.Union[_IResolvable_da3f097b, CfnCustomAction.CustomActionDefinitionProperty],
2485
+ ) -> None:
2486
+ """Type checking stubs"""
2487
+ pass
2488
+
2489
+ def _typecheckingstub__41def85ca04f9b6e2f09a7a4a94dcbf48f41f3f42b20008ab0c8375fde71a577(
2490
+ value: typing.Optional[builtins.str],
2491
+ ) -> None:
2492
+ """Type checking stubs"""
2493
+ pass
2494
+
2495
+ def _typecheckingstub__25bc30f27dad9105e157414d8573ef4725c2cbb4c8f636ccff8d8cd488d751ad(
2496
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCustomAction.CustomActionAttachmentProperty]]]],
2497
+ ) -> None:
2498
+ """Type checking stubs"""
2499
+ pass
2500
+
2501
+ def _typecheckingstub__072e325a0c2ec8c68fa22d9b8fcacb74cdefc302e246f675cb7d82f02d9c1ad8(
2502
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
2503
+ ) -> None:
2504
+ """Type checking stubs"""
2505
+ pass
2506
+
2507
+ def _typecheckingstub__17b54705e9e5c87338c9cd62b14232db30553ead6d15838b291a8bfefa82cd2a(
2508
+ *,
2509
+ operator: builtins.str,
2510
+ variable_name: builtins.str,
2511
+ value: typing.Optional[builtins.str] = None,
2512
+ ) -> None:
2513
+ """Type checking stubs"""
2514
+ pass
2515
+
2516
+ def _typecheckingstub__bdfcc4d3117af4232f6317084ca1888fc93a1fa63045afd0834da2fec394ccdf(
2517
+ *,
2518
+ button_text: typing.Optional[builtins.str] = None,
2519
+ criteria: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCustomAction.CustomActionAttachmentCriteriaProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2520
+ notification_type: typing.Optional[builtins.str] = None,
2521
+ variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
2522
+ ) -> None:
2523
+ """Type checking stubs"""
2524
+ pass
2525
+
2526
+ def _typecheckingstub__66cde35b29d23cf11cd686434f577e4de7a67224bbebe46b5c31d744e321be5f(
2527
+ *,
2528
+ command_text: builtins.str,
2529
+ ) -> None:
2530
+ """Type checking stubs"""
2531
+ pass
2532
+
2533
+ def _typecheckingstub__a095b5f2109b264f6833c68a2c4a07e415cda11bd116b007cb26fff0c148d24d(
2534
+ *,
2535
+ action_name: builtins.str,
2536
+ definition: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCustomAction.CustomActionDefinitionProperty, typing.Dict[builtins.str, typing.Any]]],
2537
+ alias_name: typing.Optional[builtins.str] = None,
2538
+ attachments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCustomAction.CustomActionAttachmentProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2539
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2540
+ ) -> None:
2541
+ """Type checking stubs"""
2542
+ pass
2543
+
1785
2544
  def _typecheckingstub__62f6b943071fca79376376fd20660d7b707a1026a9039a0c12c88895d7f39b05(
1786
2545
  scope: _constructs_77d1e7e8.Construct,
1787
2546
  id: builtins.str,
@@ -1791,6 +2550,7 @@ def _typecheckingstub__62f6b943071fca79376376fd20660d7b707a1026a9039a0c12c88895d
1791
2550
  team_id: builtins.str,
1792
2551
  teams_channel_id: builtins.str,
1793
2552
  teams_tenant_id: builtins.str,
2553
+ customization_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
1794
2554
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
1795
2555
  logging_level: typing.Optional[builtins.str] = None,
1796
2556
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -1842,6 +2602,12 @@ def _typecheckingstub__150448116265d03ce90265c34fc82985640b935241cdd8bab0f49cc5e
1842
2602
  """Type checking stubs"""
1843
2603
  pass
1844
2604
 
2605
+ def _typecheckingstub__11efc1f4b5699a2254663cde691669f1d0c162272e0d5627190665ef98affc89(
2606
+ value: typing.Optional[typing.List[builtins.str]],
2607
+ ) -> None:
2608
+ """Type checking stubs"""
2609
+ pass
2610
+
1845
2611
  def _typecheckingstub__8a369a2e8b97e0da168bc82e338319cde3d1784e8fcc291e9f4bf92f07c0bcea(
1846
2612
  value: typing.Optional[typing.List[builtins.str]],
1847
2613
  ) -> None:
@@ -1879,6 +2645,7 @@ def _typecheckingstub__2750e06a244ed0f59003e9954924d4cdea272b2fc67dda92574fc40bd
1879
2645
  team_id: builtins.str,
1880
2646
  teams_channel_id: builtins.str,
1881
2647
  teams_tenant_id: builtins.str,
2648
+ customization_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
1882
2649
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
1883
2650
  logging_level: typing.Optional[builtins.str] = None,
1884
2651
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -1896,6 +2663,7 @@ def _typecheckingstub__1cb3844509a8f0685c3dc0d26d5014fa028976d66c5d0a8984e8284bb
1896
2663
  iam_role_arn: builtins.str,
1897
2664
  slack_channel_id: builtins.str,
1898
2665
  slack_workspace_id: builtins.str,
2666
+ customization_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
1899
2667
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
1900
2668
  logging_level: typing.Optional[builtins.str] = None,
1901
2669
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -1941,6 +2709,12 @@ def _typecheckingstub__bcd6c259891d90515113fab2b366a0fa3fe65279fa991dfb0c55094b8
1941
2709
  """Type checking stubs"""
1942
2710
  pass
1943
2711
 
2712
+ def _typecheckingstub__d0d0439ef3a58ce5c9660cc070abad2db1860848733177ed530f90e5b2c5aa14(
2713
+ value: typing.Optional[typing.List[builtins.str]],
2714
+ ) -> None:
2715
+ """Type checking stubs"""
2716
+ pass
2717
+
1944
2718
  def _typecheckingstub__501b5577e7827d442d9391d6001230a41ff67452706a19ec7b9752f0f819226a(
1945
2719
  value: typing.Optional[typing.List[builtins.str]],
1946
2720
  ) -> None:
@@ -1977,6 +2751,7 @@ def _typecheckingstub__277f742a3921d9599de6f4a85fd399fb4b6654557393ff7889e5e52f5
1977
2751
  iam_role_arn: builtins.str,
1978
2752
  slack_channel_id: builtins.str,
1979
2753
  slack_workspace_id: builtins.str,
2754
+ customization_resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
1980
2755
  guardrail_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
1981
2756
  logging_level: typing.Optional[builtins.str] = None,
1982
2757
  sns_topic_arns: typing.Optional[typing.Sequence[builtins.str]] = None,