AWS::Lex::Bot ConditionalBranch
A set of actions that Amazon Lex should run if the condition is matched.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Condition" :
Condition
, "Name" :String
, "NextStep" :DialogState
, "Response" :ResponseSpecification
}
YAML
Condition:
Condition
Name:String
NextStep:DialogState
Response:ResponseSpecification
Properties
Condition
-
Contains the expression to evaluate. If the condition is true, the branch's actions are taken.
Required: Yes
Type: Condition
Update requires: No interruption
Name
-
The name of the branch.
Required: Yes
Type: String
Pattern:
^([0-9a-zA-Z][_-]?)+$
Minimum:
1
Maximum:
100
Update requires: No interruption
NextStep
-
The next step in the conversation.
Required: Yes
Type: DialogState
Update requires: No interruption
Response
-
Specifies a list of message groups that Amazon Lex uses to respond the user input.
Required: No
Type: ResponseSpecification
Update requires: No interruption