aws-cdk-lib.aws_lex.CfnBotVersionProps

interface CfnBotVersionProps

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBotVersionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBotVersionProps
Javasoftware.amazon.awscdk.services.lex.CfnBotVersionProps
Pythonaws_cdk.aws_lex.CfnBotVersionProps
TypeScript aws-cdk-lib » 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 { 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

NameTypeDescription
botIdstringThe unique identifier of the bot.
botVersionLocaleSpecificationIResolvable | IResolvable | BotVersionLocaleSpecificationProperty[]Specifies the locales that Amazon Lex adds to this version.
description?stringThe description of the version.

botId

Type: string

The unique identifier of the bot.


botVersionLocaleSpecification

Type: IResolvable | IResolvable | BotVersionLocaleSpecificationProperty[]

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.