interface DialogCodeHookInvocationSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotPropsMixin.DialogCodeHookInvocationSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotPropsMixin_DialogCodeHookInvocationSettingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.DialogCodeHookInvocationSettingProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotPropsMixin.DialogCodeHookInvocationSettingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » 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