AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

elastic-beanstalk-update-application-version

Description

Updates the specified application version to have the specified properties.

Note

If a property (for example, description) is not provided, the value remains unchanged. To clear these properties, specify an empty string.

Syntax

elastic-beanstalk-update-application-version -a [name] -l [label] -d [desc]

Options

NameDescriptionRequired

-a

--application-name name

The name of the application associated with this version. If no such application is found, AWS Elastic Beanstalk returns an InvalidParameterValue error.

Type: String

Default: None

Length Constraints: Minimum value of 1. Maximum value of 100.

Yes

-l

--version-label

The name of the version to update.

If no application version is found with this label, AWS Elastic Beanstalk returns an InvalidParaemterValue error.

Type: String

Length Constraints: Minimum value of 1. Maximum value of 100.

Yes

-d

--description

A new description for the release.

Type: String

Default: If not specified, AWS Elastic Beanstalk does not update the description.

Length Constraints: Minimum value of 0. Maximum value of 200.

No

Output

The command returns a table with the following information:

  • ApplicationName—The name of the application associated with this release.

  • DateCreated—The creation date of the application version.

  • DateUpdated—The last modified date of the application version.

  • Description—The description of this application version.

  • SourceBundle—The location where the source bundle is located for this version.

  • VersionLabel—A label identifying the version for the associated application.

Examples

Updating an Application Version

This example shows how to update an application version.

PROMPT> elastic-beanstalk-update-application-version -a MySampleApp -d "My new version" -l "TestVersion 1"