aws-cdk-lib.aws_lex.CfnBotAlias.BotAliasLocaleSettingsItemProperty

interface BotAliasLocaleSettingsItemProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBotAlias.BotAliasLocaleSettingsItemProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBotAlias_BotAliasLocaleSettingsItemProperty
Javasoftware.amazon.awscdk.services.lex.CfnBotAlias.BotAliasLocaleSettingsItemProperty
Pythonaws_cdk.aws_lex.CfnBotAlias.BotAliasLocaleSettingsItemProperty
TypeScript aws-cdk-lib » aws_lex » CfnBotAlias » BotAliasLocaleSettingsItemProperty

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 botAliasLocaleSettingsItemProperty: lex.CfnBotAlias.BotAliasLocaleSettingsItemProperty = {
  botAliasLocaleSetting: {
    enabled: false,

    // the properties below are optional
    codeHookSpecification: {
      lambdaCodeHook: {
        codeHookInterfaceVersion: 'codeHookInterfaceVersion',
        lambdaArn: 'lambdaArn',
      },
    },
  },
  localeId: 'localeId',
};

Properties

NameTypeDescription
botAliasLocaleSettingIResolvable | BotAliasLocaleSettingsPropertySpecifies settings that are unique to a locale.
localeIdstringThe unique identifier of the locale.

botAliasLocaleSetting

Type: IResolvable | BotAliasLocaleSettingsProperty

Specifies settings that are unique to a locale.


localeId

Type: string

The unique identifier of the locale.