Class: Aws::Imagebuilder::Types::LifecyclePolicy

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the lifecycle policy resource.

Returns:

  • (String)


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_createdTime

The timestamp when Image Builder created the lifecycle policy resource.

Returns:

  • (Time)


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_runTime

The timestamp for the last time Image Builder ran the lifecycle policy.

Returns:

  • (Time)


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_updatedTime

The timestamp when Image Builder updated the lifecycle policy resource.

Returns:

  • (Time)


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

#descriptionString

Optional description for the lifecycle policy.

Returns:

  • (String)


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_roleString

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.

Returns:

  • (String)


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

#nameString

The name of the lifecycle policy.

Returns:

  • (String)


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_detailsArray<Types::LifecyclePolicyDetail>

The configuration details for a lifecycle policy resource.

Returns:



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_selectionTypes::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_typeString

The type of resources the lifecycle policy targets.

Returns:

  • (String)


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

#statusString

Indicates whether the lifecycle policy resource is enabled.

Returns:

  • (String)


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

#tagsHash<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.

Returns:

  • (Hash<String,String>)


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