AWS::Chatbot::CustomAction CustomActionAttachment
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:
String
Criteria:- CustomActionAttachmentCriteria
NotificationType:String
Variables:
Key
:Value
Properties
-
The text of the button that appears on the notification.
Required: No
Type: String
Pattern:
^[\S\s]+$
Minimum:
1
Maximum:
50
Update 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:
1
Maximum:
5
Update 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:
1
Maximum:
100
Update requires: No interruption
Variables
-
The variables to extract from the notification.
Required: No
Type: Object of String
Pattern:
.+
Update requires: No interruption