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 ConditionalBranch
A set of actions that Amazon Lex should run if the condition is matched.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Condition" :Condition, "Name" :String, "NextStep" :DialogState, "Response" :ResponseSpecification}
YAML
Condition:ConditionName:StringNextStep:DialogStateResponse: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:
1Maximum:
100Update 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