This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Chatbot::CustomAction CustomActionAttachment
Note
AWS Chatbot is now Amazon Q Developer. Learn more
Type attribute values remain unchanged.
Defines when a custom action button should be attached to a notification.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ButtonText" :String, "Criteria" :[ CustomActionAttachmentCriteria, ... ], "NotificationType" :String, "Variables" :{}Key:Value, ...}
YAML
ButtonText:StringCriteria:- CustomActionAttachmentCriteriaNotificationType:StringVariables:Key:Value
Properties
-
The text of the button that appears on the notification.
Required: No
Type: String
Pattern:
^[\S\s]+$Minimum:
1Maximum:
50Update requires: No interruption
Criteria-
The criteria for when a button should be shown based on values in the notification.
Required: No
Type: Array of CustomActionAttachmentCriteria
Minimum:
1Maximum:
5Update requires: No interruption
NotificationType-
The type of notification that the custom action should be attached to.
Required: No
Type: String
Pattern:
^[a-zA-Z0-9-]+$Minimum:
1Maximum:
100Update requires: No interruption
Variables-
The variables to extract from the notification.
Required: No
Type: Object of String
Pattern:
.+Update requires: No interruption