interface BotVersionLocaleSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotVersionPropsMixin.BotVersionLocaleSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotVersionPropsMixin_BotVersionLocaleSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotVersionPropsMixin.BotVersionLocaleSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotVersionPropsMixin.BotVersionLocaleSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotVersionPropsMixin » BotVersionLocaleSpecificationProperty |
Specifies the locale that Amazon Lex adds to this version.
You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
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 botVersionLocaleSpecificationProperty: lex_mixins.CfnBotVersionPropsMixin.BotVersionLocaleSpecificationProperty = {
botVersionLocaleDetails: {
sourceBotVersion: 'sourceBotVersion',
},
localeId: 'localeId',
};
Properties
| Name | Type | Description |
|---|---|---|
| bot | IResolvable | Bot | The version of a bot used for a bot locale. |
| locale | string | The identifier of the locale to add to the version. |
botVersionLocaleDetails?
Type:
IResolvable | Bot
(optional)
The version of a bot used for a bot locale.
localeId?
Type:
string
(optional)
The identifier of the locale to add to the version.

.NET
Go
Java
Python
TypeScript