aws-cdk-lib.aws_lex.CfnBot.ElicitationCodeHookInvocationSettingProperty

interface ElicitationCodeHookInvocationSettingProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.ElicitationCodeHookInvocationSettingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_ElicitationCodeHookInvocationSettingProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.ElicitationCodeHookInvocationSettingProperty
Pythonaws_cdk.aws_lex.CfnBot.ElicitationCodeHookInvocationSettingProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » 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-lib';
const elicitationCodeHookInvocationSettingProperty: lex.CfnBot.ElicitationCodeHookInvocationSettingProperty = {
  enableCodeHookInvocation: false,

  // the properties below are optional
  invocationLabel: 'invocationLabel',
};

Properties

NameTypeDescription
enableCodeHookInvocationboolean | IResolvableIndicates whether a Lambda function should be invoked for the dialog.
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.


invocationLabel?

Type: string (optional)

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