AWS::Chatbot::CustomAction CustomActionAttachment - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Chatbot::CustomAction CustomActionAttachment

Note

Amazon 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 Amazon CloudFormation template, use the following syntax:

JSON

{ "ButtonText" : String, "Criteria" : [ CustomActionAttachmentCriteria, ... ], "NotificationType" : String, "Variables" : {Key: Value, ...} }

Properties

ButtonText

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