aws-cdk-lib.aws_lex.CfnBot.DialogCodeHookInvocationSettingProperty

interface DialogCodeHookInvocationSettingProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.DialogCodeHookInvocationSettingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_DialogCodeHookInvocationSettingProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.DialogCodeHookInvocationSettingProperty
Pythonaws_cdk.aws_lex.CfnBot.DialogCodeHookInvocationSettingProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » DialogCodeHookInvocationSettingProperty

Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.

Example

// The generated example for this type would exceed 500 lines,
// and has been elided for readability.

Properties

NameTypeDescription
enableCodeHookInvocationboolean | IResolvableIndicates whether a Lambda function should be invoked for the dialog.
isActiveboolean | IResolvableDetermines whether a dialog code hook is used when the intent is activated.
postCodeHookSpecificationIResolvable | PostDialogCodeHookInvocationSpecificationPropertyContains the responses and actions that Amazon Lex takes after the Lambda function is complete.
invocationLabel?stringA label that indicates the dialog step from which the dialog code hook is happening.

enableCodeHookInvocation

Type: boolean | IResolvable

Indicates whether a Lambda function should be invoked for the dialog.


isActive

Type: boolean | IResolvable

Determines whether a dialog code hook is used when the intent is activated.


postCodeHookSpecification

Type: IResolvable | PostDialogCodeHookInvocationSpecificationProperty

Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.


invocationLabel?

Type: string (optional)

A label that indicates the dialog step from which the dialog code hook is happening.