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 AWS 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