Class: Aws::ElasticBeanstalk::Types::MaxCountRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticBeanstalk::Types::MaxCountRule
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-elasticbeanstalk/types.rb
Overview
A lifecycle rule that deletes the oldest application version when the maximum count is exceeded.
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, or `false` to disable it.
-
#max_count ⇒ Integer
Specify the maximum number of application versions to retain.
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.
3139 3140 3141 3142 3143 3144 3145 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 3139 class MaxCountRule < Struct.new( :enabled, :max_count, :delete_source_from_s3) SENSITIVE = [] include Aws::Structure end |
#enabled ⇒ Boolean
Specify ‘true` to apply the rule, or `false` to disable it.
3139 3140 3141 3142 3143 3144 3145 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 3139 class MaxCountRule < Struct.new( :enabled, :max_count, :delete_source_from_s3) SENSITIVE = [] include Aws::Structure end |
#max_count ⇒ Integer
Specify the maximum number of application versions to retain.
3139 3140 3141 3142 3143 3144 3145 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 3139 class MaxCountRule < Struct.new( :enabled, :max_count, :delete_source_from_s3) SENSITIVE = [] include Aws::Structure end |