interface BotAliasLocaleSettingsItemProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.BotAliasLocaleSettingsItemProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.BotAliasLocaleSettingsItemProperty |
Python | aws_cdk.aws_lex.CfnBot.BotAliasLocaleSettingsItemProperty |
TypeScript | @aws-cdk/aws-lex » CfnBot » BotAliasLocaleSettingsItemProperty |
Specifies locale settings for a single locale.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lex from '@aws-cdk/aws-lex';
const botAliasLocaleSettingsItemProperty: lex.CfnBot.BotAliasLocaleSettingsItemProperty = {
botAliasLocaleSetting: {
enabled: false,
// the properties below are optional
codeHookSpecification: {
lambdaCodeHook: {
codeHookInterfaceVersion: 'codeHookInterfaceVersion',
lambdaArn: 'lambdaArn',
},
},
},
localeId: 'localeId',
};
Properties
Name | Type | Description |
---|---|---|
bot | IResolvable | Bot | Specifies locale settings for a locale. |
locale | string | Specifies the locale that the settings apply to. |
botAliasLocaleSetting
Type:
IResolvable
|
Bot
Specifies locale settings for a locale.
localeId
Type:
string
Specifies the locale that the settings apply to.