This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ElasticBeanstalk::Application MaxCountRule
A lifecycle rule that deletes the oldest application version when the maximum count is exceeded.
MaxCountRule is a property of the ApplicationVersionLifecycleConfig
property type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "DeleteSourceFromS3" :Boolean, "Enabled" :Boolean, "MaxCount" :Integer}
YAML
DeleteSourceFromS3:BooleanEnabled:BooleanMaxCount:Integer
Properties
DeleteSourceFromS3-
Set to
trueto delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.Required: No
Type: Boolean
Update requires: No interruption
Enabled-
Specify
trueto apply the rule, orfalseto disable it.Required: No
Type: Boolean
Update requires: No interruption
MaxCount-
Specify the maximum number of application versions to retain.
Required: No
Type: Integer
Update requires: No interruption