interface ElicitationCodeHookInvocationSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotPropsMixin_ElicitationCodeHookInvocationSettingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » CfnBotPropsMixin » ElicitationCodeHookInvocationSettingProperty |
Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from '@aws-cdk/cfn-property-mixins';
const elicitationCodeHookInvocationSettingProperty: lex.CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty = {
enableCodeHookInvocation: false,
invocationLabel: 'invocationLabel',
};
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. |
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.

.NET
Go
Java
Python
TypeScript