This is the new AWS 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 PromptSpecification
Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AllowInterrupt" :Boolean, "MaxRetries" :Integer, "MessageGroupsList" :[ MessageGroup, ... ], "MessageSelectionStrategy" :String, "PromptAttemptsSpecification" :{}Key:Value, ...}
YAML
AllowInterrupt:BooleanMaxRetries:IntegerMessageGroupsList:- MessageGroupMessageSelectionStrategy:StringPromptAttemptsSpecification:Key:Value
Properties
AllowInterrupt-
Indicates whether the user can interrupt a speech prompt from the bot.
Required: No
Type: Boolean
Update requires: No interruption
MaxRetries-
The maximum number of times the bot tries to elicit a response from the user using this prompt.
Required: Yes
Type: Integer
Minimum:
0Maximum:
5Update requires: No interruption
MessageGroupsList-
A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.
Required: Yes
Type: Array of MessageGroup
Minimum:
1Maximum:
5Update requires: No interruption
MessageSelectionStrategy-
Indicates how a message is selected from a message group among retries.
Required: No
Type: String
Allowed values:
Random | OrderedUpdate requires: No interruption
PromptAttemptsSpecification-
Specifies the advanced settings on each attempt of the prompt.
Required: No
Type: Object of PromptAttemptSpecification
Update requires: No interruption