Class: Aws::ElasticBeanstalk::Types::ApplicationResourceLifecycleConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticBeanstalk::Types::ApplicationResourceLifecycleConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-elasticbeanstalk/types.rb
Overview
The resource lifecycle configuration for an application. Defines lifecycle settings for resources that belong to the application, and the service role that AWS Elastic Beanstalk assumes in order to apply lifecycle settings. The version lifecycle configuration defines lifecycle settings for application versions.
Constant Summary collapse
- SENSITIVE =
[]
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
Defines lifecycle settings for application versions.
Instance Attribute Details
#service_role ⇒ String
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
The ‘ServiceRole` property is required the first time that you provide a `VersionLifecycleConfig` for the application in one of the supporting calls (`CreateApplication` or `UpdateApplicationResourceLifecycle`). After you provide it once, in either one of the calls, Elastic Beanstalk persists the Service Role with the application, and you don’t need to specify it again in subsequent ‘UpdateApplicationResourceLifecycle` calls. You can, however, specify it in subsequent calls to change the Service Role to another value.
172 173 174 175 176 177 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 172 class ApplicationResourceLifecycleConfig < Struct.new( :service_role, :version_lifecycle_config) SENSITIVE = [] include Aws::Structure end |
#version_lifecycle_config ⇒ Types::ApplicationVersionLifecycleConfig
Defines lifecycle settings for application versions.
172 173 174 175 176 177 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 172 class ApplicationResourceLifecycleConfig < Struct.new( :service_role, :version_lifecycle_config) SENSITIVE = [] include Aws::Structure end |