Class: Aws::ElasticBeanstalk::Types::ApplicationVersionLifecycleConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticBeanstalk::Types::ApplicationVersionLifecycleConfig
- Defined in:
- gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb
Overview
When making an API call, you may pass ApplicationVersionLifecycleConfig data as a hash:
{
max_count_rule: {
enabled: false, # required
max_count: 1,
delete_source_from_s3: false,
},
max_age_rule: {
enabled: false, # required
max_age_in_days: 1,
delete_source_from_s3: false,
},
}
The application version lifecycle settings for an application. Defines the rules that Elastic Beanstalk applies to an application's versions in order to avoid hitting the per-region limit for application versions.
When Elastic Beanstalk deletes an application version from its database, you can no longer deploy that version to an environment. The source bundle remains in S3 unless you configure the rule to delete it.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#max_age_rule ⇒ Types::MaxAgeRule
Specify a max age rule to restrict the length of time that application versions are retained for an application.
-
#max_count_rule ⇒ Types::MaxCountRule
Specify a max count rule to restrict the number of application versions that are retained for an application.
Instance Attribute Details
#max_age_rule ⇒ Types::MaxAgeRule
Specify a max age rule to restrict the length of time that application versions are retained for an application.
380 381 382 383 384 385 |
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 380 class ApplicationVersionLifecycleConfig < Struct.new( :max_count_rule, :max_age_rule) SENSITIVE = [] include Aws::Structure end |
#max_count_rule ⇒ Types::MaxCountRule
Specify a max count rule to restrict the number of application versions that are retained for an application.
380 381 382 383 384 385 |
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 380 class ApplicationVersionLifecycleConfig < Struct.new( :max_count_rule, :max_age_rule) SENSITIVE = [] include Aws::Structure end |