interface CfnBotVersionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBotVersionProps |
Java | software.amazon.awscdk.services.lex.CfnBotVersionProps |
Python | aws_cdk.aws_lex.CfnBotVersionProps |
TypeScript | @aws-cdk/aws-lex » CfnBotVersionProps |
Properties for defining a CfnBotVersion.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lex from '@aws-cdk/aws-lex';
const cfnBotVersionProps: lex.CfnBotVersionProps = {
botId: 'botId',
botVersionLocaleSpecification: [{
botVersionLocaleDetails: {
sourceBotVersion: 'sourceBotVersion',
},
localeId: 'localeId',
}],
// the properties below are optional
description: 'description',
};
Properties
| Name | Type | Description |
|---|---|---|
| bot | string | The unique identifier of the bot. |
| bot | IResolvable | IResolvable | Bot[] | Specifies the locales that Amazon Lex adds to this version. |
| description? | string | The description of the version. |
botId
Type:
string
The unique identifier of the bot.
botVersionLocaleSpecification
Type:
IResolvable | IResolvable | Bot[]
Specifies the locales 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.
description?
Type:
string
(optional)
The description of the version.

.NET
Java
Python
TypeScript