Skip to content
v2.277.0

DialogCodeHookSettingProperty Struct ​

Settings that determine the Lambda function that Amazon Lex uses for processing user responses.

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 dialogCodeHookSettingProperty: lex.CfnBot.DialogCodeHookSettingProperty = {
  enabled: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lex as lex

dialog_code_hook_setting_property = lex.CfnBot.DialogCodeHookSettingProperty(
    enabled=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;

DialogCodeHookSettingProperty dialogCodeHookSettingProperty = DialogCodeHookSettingProperty.builder()
        .enabled(false)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;

var dialogCodeHookSettingProperty = new DialogCodeHookSettingProperty {
    Enabled = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

dialogCodeHookSettingProperty := &DialogCodeHookSettingProperty{
	Enabled: jsii.Boolean(false),
}

Properties ​

enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}required#
Enables the dialog code hook so that it processes user requests.