This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Lex::Bot DialogCodeHookInvocationSetting
Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "EnableCodeHookInvocation" :Boolean, "InvocationLabel" :String, "IsActive" :Boolean, "PostCodeHookSpecification" :PostDialogCodeHookInvocationSpecification}
YAML
EnableCodeHookInvocation:BooleanInvocationLabel:StringIsActive:BooleanPostCodeHookSpecification:PostDialogCodeHookInvocationSpecification
Properties
EnableCodeHookInvocation-
Indicates whether a Lambda function should be invoked for the dialog.
Required: Yes
Type: Boolean
Update requires: No interruption
InvocationLabel-
A label that indicates the dialog step from which the dialog code hook is happening.
Required: No
Type: String
Pattern:
^([0-9a-zA-Z][_-]?)+$Minimum:
1Maximum:
100Update requires: No interruption
IsActive-
Determines whether a dialog code hook is used when the intent is activated.
Required: Yes
Type: Boolean
Update requires: No interruption
PostCodeHookSpecification-
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
Required: Yes
Type: PostDialogCodeHookInvocationSpecification
Update requires: No interruption