Class: Aws::ElasticBeanstalk::Types::MaxAgeRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticBeanstalk::Types::MaxAgeRule
- Defined in:
- gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb
Overview
A lifecycle rule that deletes application versions after the specified number of days.
Constant Summary collapse
- SENSITIVE =
[]
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.
3110 3111 3112 3113 3114 3115 3116 |
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3110 class MaxAgeRule < Struct.new( :enabled, :max_age_in_days, :delete_source_from_s3) SENSITIVE = [] include Aws::Structure end |
#enabled ⇒ Boolean
Specify true
to apply the rule, or false
to disable it.
3110 3111 3112 3113 3114 3115 3116 |
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3110 class MaxAgeRule < Struct.new( :enabled, :max_age_in_days, :delete_source_from_s3) SENSITIVE = [] include Aws::Structure end |
#max_age_in_days ⇒ Integer
Specify the number of days to retain an application versions.
3110 3111 3112 3113 3114 3115 3116 |
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3110 class MaxAgeRule < Struct.new( :enabled, :max_age_in_days, :delete_source_from_s3) SENSITIVE = [] include Aws::Structure end |