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

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 Amazon CloudFormation template, use the following syntax:

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: 1

Maximum: 100

Update 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