Class: Aws::Imagebuilder::Types::LifecyclePolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::Imagebuilder::Types::LifecyclePolicy
- Defined in:
- gems/aws-sdk-imagebuilder/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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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.
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5118 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 |