class Aws::ElasticBeanstalk::Types::MaxAgeRule
A lifecycle rule that deletes application versions after the specified number of days.
@note When making an API call, you may pass MaxAgeRule
data as a hash: { enabled: false, # required max_age_in_days: 1, delete_source_from_s3: false, }
@!attribute [rw] enabled
Specify `true` to apply the rule, or `false` to disable it. @return [Boolean]
@!attribute [rw] max_age_in_days
Specify the number of days to retain an application versions. @return [Integer]
@!attribute [rw] delete_source_from_s3
Set to `true` to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version. @return [Boolean]
@see docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/MaxAgeRule AWS API Documentation
Constants
- SENSITIVE