You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ElasticBeanstalk::Types::MaxAgeRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticBeanstalk::Types::MaxAgeRule
- Defined in:
- (unknown)
Overview
When passing MaxAgeRule as input to an Aws::Client method, you can use a vanilla Hash:
{
enabled: false, # required
max_age_in_days: 1,
delete_source_from_s3: false,
}
A lifecycle rule that deletes application versions after the specified number of days.
Returned by:
Instance Attribute Summary collapse
-
#delete_source_from_s3 ⇒ Boolean
Set to
true
to delete a version\'s source bundle from Amazon S3 when Elastic Beanstalk deletes the application version. -
#enabled ⇒ Boolean
Specify
true
to apply the rule, orfalse
to disable it. -
#max_age_in_days ⇒ Integer
Specify the number of days to retain an application versions.
Instance Attribute Details
#delete_source_from_s3 ⇒ Boolean
Set to true
to delete a version\'s source bundle from Amazon S3 when
Elastic Beanstalk deletes the application version.
#enabled ⇒ Boolean
Specify true
to apply the rule, or false
to disable it.
#max_age_in_days ⇒ Integer
Specify the number of days to retain an application versions.