Skip to content
v2.274.0

ElicitationCodeHookInvocationSettingProperty Struct ​

Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values.

Example ​

ts
// 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 ​

enableCodeHookInvocationboolean | IResolvableenable_code_hook_invocationtyping.Union[bool, IResolvable]enableCodeHookInvocationBooleanEnableCodeHookInvocationboolEnableCodeHookInvocationinterface{}required#
Indicates whether a Lambda function should be invoked for the dialog.
invocationLabelstringinvocation_labelstrinvocationLabelStringInvocationLabelstringInvocationLabel*string#
A label that indicates the dialog step from which the dialog code hook is happening.