MaxAgeRule - AWS Elastic Beanstalk
AWS services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with AWS services in China.

MaxAgeRule

A lifecycle rule that deletes application versions after the specified number of days.

Contents

DeleteSourceFromS3

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

Type: Boolean

Required: No

Enabled

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

Type: Boolean

Required: Yes

MaxAgeInDays

Specify the number of days to retain an application versions.

Type: Integer

Required: No

See Also

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