Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS Elastic Beanstalk Application ApplicationVersionLifecycleConfig

The ApplicationVersionLifecycleConfig property type specifies the application version lifecycle settings for an AWS Elastic Beanstalk application. It defines the rules that Elastic Beanstalk applies to an application's versions in order to avoid hitting the per-region limit for application versions.

When Elastic Beanstalk deletes an application version from its database, you can no longer deploy that version to an environment. The source bundle remains in S3 unless you configure the rule to delete it.

ApplicationVersionLifecycleConfig is a property of the Elastic Beanstalk Application ApplicationResourceLifecycleConfig property type.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

YAML

Copy
MaxAgeRule: MaxAgeRule MaxCountRule: MaxCountRule

Properties

MaxAgeRule

Specifies a max age rule to restrict the length of time that application versions are retained for an application.

Required: No

Type: Elastic Beanstalk Application MaxAgeRule

Update requires: No interruption

MaxCountRule

Specifies a max count rule to restrict the number of application versions that are retained for an application.

Required: No

Type: Elastic Beanstalk Application MaxCountRule

Update requires: No interruption

On this page: