AWS::Lex::Bot DialogAction - 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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Lex::Bot DialogAction

Defines the action that the bot executes at runtime when the conversation reaches this step.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "SlotToElicit" : String, "SuppressNextMessage" : Boolean, "Type" : String }

YAML

SlotToElicit: String SuppressNextMessage: Boolean Type: String

Properties

SlotToElicit

If the dialog action is ElicitSlot, defines the slot to elicit from the user.

Required: No

Type: String

Pattern: ^([0-9a-zA-Z][_-]?)+$

Minimum: 1

Maximum: 100

Update requires: No interruption

SuppressNextMessage

When true the next message for the intent is not used.

Required: No

Type: Boolean

Update requires: No interruption

Type

The action that the bot should execute.

Required: Yes

Type: String

Allowed values: CloseIntent | ConfirmIntent | ElicitIntent | ElicitSlot | StartIntent | FulfillIntent | EndConversation | EvaluateConditional | InvokeDialogCodeHook

Update requires: No interruption