BotAliasLocaleSettingsItemProperty Struct
Specifies settings that are unique to a locale.
For example, you can use different Lambda function depending on the bot's locale.
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 botAliasLocaleSettingsItemProperty: lex.CfnBotAlias.BotAliasLocaleSettingsItemProperty = {
botAliasLocaleSetting: {
enabled: false,
// the properties below are optional
codeHookSpecification: {
lambdaCodeHook: {
codeHookInterfaceVersion: 'codeHookInterfaceVersion',
lambdaArn: 'lambdaArn',
},
},
},
localeId: 'localeId',
};
Properties
botAliasLocaleSettingIResolvable | CfnBotAlias.BotAliasLocaleSettingsPropertybot_alias_locale_settingtyping.Union[IResolvable, BotAliasLocaleSettingsProperty]botAliasLocaleSettingIResolvableBotAliasLocaleSettingIResolvableBotAliasLocaleSettinginterface{}required#Specifies settings that are unique to a locale.
The unique identifier of the locale.