AWS::Lex::BotVersion
Note
Amazon Lex V2 is the only supported version in Amazon 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.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Lex::BotVersion", "Properties" : { "BotId" :String, "BotVersionLocaleSpecification" :[ BotVersionLocaleSpecification, ... ], "Description" :String} }
YAML
Type: AWS::Lex::BotVersion Properties: BotId:StringBotVersionLocaleSpecification:- BotVersionLocaleSpecificationDescription:String
Properties
BotId-
The unique identifier of the bot.
Required: Yes
Type: String
Update requires: Replacement
BotVersionLocaleSpecification-
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.
Required: Yes
Type: List of BotVersionLocaleSpecification
Update requires: No interruption
Description-
The description of the version.
Required: No
Type: String
Minimum:
0Maximum:
200Update requires: No interruption