interface BotAliasLocaleSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotAliasPropsMixin.BotAliasLocaleSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotAliasPropsMixin_BotAliasLocaleSettingsProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotAliasPropsMixin.BotAliasLocaleSettingsProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotAliasPropsMixin.BotAliasLocaleSettingsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotAliasPropsMixin » BotAliasLocaleSettingsProperty |
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 botAliasLocaleSettingsProperty: lex_mixins.CfnBotAliasPropsMixin.BotAliasLocaleSettingsProperty = {
codeHookSpecification: {
lambdaCodeHook: {
codeHookInterfaceVersion: 'codeHookInterfaceVersion',
lambdaArn: 'lambdaArn',
},
},
enabled: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| code | IResolvable | Code | Specifies the Lambda function that should be used in the locale. |
| enabled? | boolean | IResolvable | Determines whether the locale is enabled for the bot. |
codeHookSpecification?
Type:
IResolvable | Code
(optional)
Specifies the Lambda function that should be used in the locale.
enabled?
Type:
boolean | IResolvable
(optional)
Determines whether the locale is enabled for the bot.
If the value is false , the locale isn't available for use.

.NET
Go
Java
Python
TypeScript