interface BotAliasLocaleSettingsItemProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotAliasPropsMixin.BotAliasLocaleSettingsItemProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotAliasPropsMixin_BotAliasLocaleSettingsItemProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotAliasPropsMixin.BotAliasLocaleSettingsItemProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotAliasPropsMixin.BotAliasLocaleSettingsItemProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » 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 { aws_lex as lex } from '@aws-cdk/cfn-property-mixins';
const botAliasLocaleSettingsItemProperty: lex.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