AWS::Lex::Bot Button - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Lex::Bot Button

Describes a button to use on a response card used to gather slot values from a user.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Text" : String, "Value" : String }

YAML

Text: String Value: String

Properties

Text

The text that appears on the button. Use this to tell the user what value is returned when they choose this button.

Required: Yes

Type: String

Minimum: 1

Maximum: 50

Update requires: No interruption

Value

The value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.

Required: Yes

Type: String

Minimum: 1

Maximum: 50

Update requires: No interruption