interface DialogCodeHookInvocationSettingProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.DialogCodeHookInvocationSettingProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_DialogCodeHookInvocationSettingProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.DialogCodeHookInvocationSettingProperty |
![]() | aws_cdk.aws_lex.CfnBot.DialogCodeHookInvocationSettingProperty |
![]() | 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
Name | Type | Description |
---|---|---|
enable | boolean | IResolvable | Indicates whether a Lambda function should be invoked for the dialog. |
is | boolean | IResolvable | Determines whether a dialog code hook is used when the intent is activated. |
post | IResolvable | Post | Contains the responses and actions that Amazon Lex takes after the Lambda function is complete. |
invocation | string | A 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
|
Post
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.