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