AWS::Lex::BotVersion> Amazon Lex V2 is the only supported version in CloudFormation . Specifies a new version of the bot based on the `DRAFT` version. If the `DRAFT` version of this resource hasn't changed since you created the last version, Amazon Lex doesn't create a new version, it returns the last created version. When you specify the first version of a bot, Amazon Lex sets the version to 1. Subsequent versions increment by 1.
import { CfnBotVersion } from 'aws-cdk-lib/aws-lex';Or use the module namespace:
import * as lex from 'aws-cdk-lib/aws-lex';
// lex.CfnBotVersionConfiguration passed to the constructor as CfnBotVersionProps.
botIdRequiredstring | IBotRefThe unique identifier of the bot.
botVersionLocaleSpecificationRequiredIResolvable | 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.
descriptionOptionalstringThe description of the version.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-lexAWS::Lex::BotVersion