AWS::Chatbot::CustomAction CustomActionAttachment - AWS CloudFormation (original) (raw)

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:

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

AWS::Chatbot::CustomAction

CustomActionAttachmentCriteria

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.