AWS::Lex::Bot Button - 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::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 Amazon 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