AWS::Lex::Bot PromptSpecification - AWS CloudFormation

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

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