interface CfnBotVersionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBotVersionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBotVersionProps |
Java | software.amazon.awscdk.services.lex.CfnBotVersionProps |
Python | aws_cdk.aws_lex.CfnBotVersionProps |
TypeScript | aws-cdk-lib » aws_lex » CfnBotVersionProps |
Properties for defining a CfnBotVersion.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-botversion.html
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 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
Go
Java
Python
TypeScript