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

Minimum: 0

Maximum: 5

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: Array of MessageGroup

Minimum: 1

Maximum: 5

Update requires: No interruption

MessageSelectionStrategy

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

Required: No

Type: String

Allowed values: Random | Ordered

Update requires: No interruption

PromptAttemptsSpecification

Specifies the advanced settings on each attempt of the prompt.

Required: No

Type: Object of PromptAttemptSpecification

Update requires: No interruption