MaxCountRule - Amazon Elastic Beanstalk
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


A lifecycle rule that deletes the oldest application version when the maximum count is exceeded.



Specify true to apply the rule, or false to disable it.

Type: Boolean

Required: Yes


Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.

Type: Boolean

Required: No


Specify the maximum number of application versions to retain.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: