AWS::Lex::Bot PromptSpecification - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new 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 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