interface BotAliasLocaleSettingsItemProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotAliasPropsMixin.BotAliasLocaleSettingsItemProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotAliasPropsMixin_BotAliasLocaleSettingsItemProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotAliasPropsMixin.BotAliasLocaleSettingsItemProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotAliasPropsMixin.BotAliasLocaleSettingsItemProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotAliasPropsMixin » 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 { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const botAliasLocaleSettingsItemProperty: lex_mixins.CfnBotAliasPropsMixin.BotAliasLocaleSettingsItemProperty = {
botAliasLocaleSetting: {
codeHookSpecification: {
lambdaCodeHook: {
codeHookInterfaceVersion: 'codeHookInterfaceVersion',
lambdaArn: 'lambdaArn',
},
},
enabled: false,
},
localeId: 'localeId',
};
Properties
| Name | Type | Description |
|---|---|---|
| bot | IResolvable | Bot | Specifies settings that are unique to a locale. |
| locale | string | The unique identifier of the locale. |
botAliasLocaleSetting?
Type:
IResolvable | Bot
(optional)
Specifies settings that are unique to a locale.
localeId?
Type:
string
(optional)
The unique identifier of the locale.

.NET
Go
Java
Python
TypeScript