Class: Aws::Imagebuilder::Types::LifecyclePolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::Imagebuilder::Types::LifecyclePolicy
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-imagebuilder/types.rb
Overview
The configuration details for a lifecycle policy resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the lifecycle policy resource.
-
#date_created ⇒ Time
The timestamp when Image Builder created the lifecycle policy resource.
-
#date_last_run ⇒ Time
The timestamp for the last time Image Builder ran the lifecycle policy.
-
#date_updated ⇒ Time
The timestamp when Image Builder updated the lifecycle policy resource.
-
#description ⇒ String
Optional description for the lifecycle policy.
-
#execution_role ⇒ String
The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy.
-
#name ⇒ String
The name of the lifecycle policy.
-
#policy_details ⇒ Array<Types::LifecyclePolicyDetail>
The configuration details for a lifecycle policy resource.
-
#resource_selection ⇒ Types::LifecyclePolicyResourceSelection
Resource selection criteria used to run the lifecycle policy.
-
#resource_type ⇒ String
The type of resources the lifecycle policy targets.
-
#status ⇒ String
Indicates whether the lifecycle policy resource is enabled.
-
#tags ⇒ Hash<String,String>
To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of tags.
Instance Attribute Details
#arn ⇒ String
The Amazon Resource Name (ARN) of the lifecycle policy resource.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |
#date_created ⇒ Time
The timestamp when Image Builder created the lifecycle policy resource.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |
#date_last_run ⇒ Time
The timestamp for the last time Image Builder ran the lifecycle policy.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |
#date_updated ⇒ Time
The timestamp when Image Builder updated the lifecycle policy resource.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
Optional description for the lifecycle policy.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |
#execution_role ⇒ String
The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy. This is a custom role that you create.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the lifecycle policy.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |
#policy_details ⇒ Array<Types::LifecyclePolicyDetail>
The configuration details for a lifecycle policy resource.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |
#resource_selection ⇒ Types::LifecyclePolicyResourceSelection
Resource selection criteria used to run the lifecycle policy.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |
#resource_type ⇒ String
The type of resources the lifecycle policy targets.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
Indicates whether the lifecycle policy resource is enabled.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of tags. Each tag consists of a key and an optional value, both of which you define.
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5140 class LifecyclePolicy < Struct.new( :arn, :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :date_created, :date_updated, :date_last_run, :tags) SENSITIVE = [] include Aws::Structure end |