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

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

Instance Attribute Details

#arnString

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

Returns:

  • (String)


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_createdTime

The timestamp when Image Builder created the lifecycle policy resource.

Returns:

  • (Time)


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_runTime

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

Returns:

  • (Time)


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_updatedTime

The timestamp when Image Builder updated the lifecycle policy resource.

Returns:

  • (Time)


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

#descriptionString

Optional description for the lifecycle policy.

Returns:

  • (String)


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_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)


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

#nameString

The name of the lifecycle policy.

Returns:

  • (String)


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

The configuration details for a lifecycle policy resource.

Returns:



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

The type of resources the lifecycle policy targets.

Returns:

  • (String)


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

#statusString

Indicates whether the lifecycle policy resource is enabled.

Returns:

  • (String)


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

#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>)


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