Skip to content
v2.274.0

CfnBotVersionProps Struct ​

Properties for defining a CfnBotVersion.

Example ​

ts
// 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 ​

botIdstring | IBotRefbot_idtyping.Union[str, IBotRef]botIdStringBotIdstringBotIdinterface{}required#
The unique identifier of the bot.
botVersionLocaleSpecificationIResolvable | IResolvable | CfnBotVersion.BotVersionLocaleSpecificationProperty[]bot_version_locale_specificationtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, BotVersionLocaleSpecificationProperty]]]botVersionLocaleSpecificationIResolvableBotVersionLocaleSpecificationIResolvableBotVersionLocaleSpecificationinterface{}required#
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.

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
The description of the version.