interface DialogCodeHookInvocationSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.DialogCodeHookInvocationSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_DialogCodeHookInvocationSettingProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.DialogCodeHookInvocationSettingProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.DialogCodeHookInvocationSettingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » 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. |
| invocation | string | A label that indicates the dialog step from which the dialog code hook is happening. |
| 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. |
enableCodeHookInvocation?
Type:
boolean | IResolvable
(optional)
Indicates whether a Lambda function should be invoked for the dialog.
invocationLabel?
Type:
string
(optional)
A label that indicates the dialog step from which the dialog code hook is happening.
isActive?
Type:
boolean | IResolvable
(optional)
Determines whether a dialog code hook is used when the intent is activated.
postCodeHookSpecification?
Type:
IResolvable | Post
(optional)
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.

.NET
Go
Java
Python
TypeScript