Class: Aws::ElasticBeanstalk::Types::ApplicationResourceLifecycleConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticBeanstalk::Types::ApplicationResourceLifecycleConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-elasticbeanstalk/types.rb
Overview
Note:
When making an API call, you may pass ApplicationResourceLifecycleConfig data as a hash:
{
service_role: "String",
version_lifecycle_config: {
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 resource lifecycle configuration for an application. Defines lifecycle settings for resources that belong to the application, and the service role that Elastic Beanstalk assumes in order to apply lifecycle settings. The version lifecycle configuration defines lifecycle settings for application versions.
Instance Attribute Summary collapse
-
#service_role ⇒ String
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
-
#version_lifecycle_config ⇒ Types::ApplicationVersionLifecycleConfig
The application version lifecycle configuration.
Instance Attribute Details
#service_role ⇒ String
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
177 178 179 180 181 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 177 class ApplicationResourceLifecycleConfig < Struct.new( :service_role, :version_lifecycle_config) include Aws::Structure end |
#version_lifecycle_config ⇒ Types::ApplicationVersionLifecycleConfig
The application version lifecycle configuration.
177 178 179 180 181 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 177 class ApplicationResourceLifecycleConfig < Struct.new( :service_role, :version_lifecycle_config) include Aws::Structure end |