AWS::Lex::Bot Button - AWS CloudFormation

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 AWS 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