Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::Lex::BotVersion

Focus mode
AWS::Lex::BotVersion - AWS CloudFormation
Filter View
Note

Amazon Lex V2 is the only supported version in AWS 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 AWS 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: String BotVersionLocaleSpecification: - BotVersionLocaleSpecification Description: String

Properties

BotId

The unique identifier of the bot.

Required: Yes

Type: String

Pattern: ^[0-9a-zA-Z]+$

Minimum: 10

Maximum: 10

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: Array of BotVersionLocaleSpecification

Minimum: 1

Update requires: No interruption

Description

The description of the version.

Required: No

Type: String

Maximum: 200

Update requires: No interruption

Return values

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

BotVersion

The version of the bot.

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.