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, ...} }

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

Update 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: List of MessageGroup

Update requires: No interruption

MessageSelectionStrategy

Indicates how a message is selected from a message group among retries.

Required: No

Type: String

Update requires: No interruption

PromptAttemptsSpecification

Specifies the advanced settings on each attempt of the prompt. The valid keys are Initial, Retry1, Retry2, Retry3, Retry4, and Retry5.

Required: No

Type: Map of PromptAttemptSpecification

Update requires: No interruption