interface BotAliasLocaleSettingsProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.Lex.CfnBot.BotAliasLocaleSettingsProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_BotAliasLocaleSettingsProperty | 
  Java | software.amazon.awscdk.services.lex.CfnBot.BotAliasLocaleSettingsProperty | 
  Python | aws_cdk.aws_lex.CfnBot.BotAliasLocaleSettingsProperty | 
  TypeScript  | aws-cdk-lib » aws_lex » CfnBot » BotAliasLocaleSettingsProperty | 
Specifies settings that are unique to a locale.
For example, you can use different Lambda function depending on the bot's locale.
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 botAliasLocaleSettingsProperty: lex.CfnBot.BotAliasLocaleSettingsProperty = {
  enabled: false,
  // the properties below are optional
  codeHookSpecification: {
    lambdaCodeHook: {
      codeHookInterfaceVersion: 'codeHookInterfaceVersion',
      lambdaArn: 'lambdaArn',
    },
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| enabled | boolean | IResolvable | Determines whether the locale is enabled for the bot. | 
| code | IResolvable | Code | Specifies the Lambda function that should be used in the locale. | 
enabled
Type:
boolean | IResolvable
Determines whether the locale is enabled for the bot.
If the value is false , the locale isn't available for use.
codeHookSpecification?
Type:
IResolvable | Code
(optional)
Specifies the Lambda function that should be used in the locale.

 .NET
 Go
 Java
 Python
 TypeScript