interface BotAliasLocaleSettingsItemProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBotAlias.BotAliasLocaleSettingsItemProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBotAlias_BotAliasLocaleSettingsItemProperty |
![]() | software.amazon.awscdk.services.lex.CfnBotAlias.BotAliasLocaleSettingsItemProperty |
![]() | aws_cdk.aws_lex.CfnBotAlias.BotAliasLocaleSettingsItemProperty |
![]() | aws-cdk-lib » aws_lex » CfnBotAlias » 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-lib';
const botAliasLocaleSettingsItemProperty: lex.CfnBotAlias.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 settings that are unique to a locale. |
locale | string | The unique identifier of the locale. |
botAliasLocaleSetting
Type:
IResolvable
|
Bot
Specifies settings that are unique to a locale.
localeId
Type:
string
The unique identifier of the locale.