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.”

Exercise 3: Publish a Version and Create an Alias

Focus mode
Exercise 3: Publish a Version and Create an Alias - Amazon Lex V1

End of support notice: On September 15, 2025, AWS will discontinue support for Amazon Lex V1. After September 15, 2025, you will no longer be able to access the Amazon Lex V1 console or Amazon Lex V1 resources. If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead. .

End of support notice: On September 15, 2025, AWS will discontinue support for Amazon Lex V1. After September 15, 2025, you will no longer be able to access the Amazon Lex V1 console or Amazon Lex V1 resources. If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead. .

In Getting Started Exercises 1 and 2, you created a bot and tested it. In this exercise, you do the following:

  • Publish a new version of the bot. Amazon Lex takes a snapshot copy of the $LATEST version to publish a new version.

  • Create an alias that points to the new version.

For more information about versioning and aliases, see Versioning and Aliases.

Do the following to publish a version of a bot you created for this exercise:

  1. In the Amazon Lex console, choose one of the bots you created.

    Verify that the console shows the $LATEST as the bot version next to the bot name.

  2. Choose Publish.

  3. On the Publish botname wizard, specify the alias BETA, and then choose Publish.

  4. Verify that the Amazon Lex console shows the new version next to the bot name, as in the following image.

    The console showing the new bot alias.

Now that you have a working bot with published version and an alias, you can deploy the bot (in your mobile application or integrate the bot with Facebook Messenger). For an example, see Integrating an Amazon Lex Bot with Facebook Messenger.

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