Class: Aws::Imagebuilder::Types::LifecycleExecutionResource

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb

Overview

Contains details for a resource that the runtime instance of the lifecycle policy identified for action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The account that owns the impacted resource.

Returns:

  • (String)


4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4948

class LifecycleExecutionResource < Struct.new(
  :account_id,
  :resource_id,
  :state,
  :action,
  :region,
  :snapshots,
  :image_uris,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#actionTypes::LifecycleExecutionResourceAction

The action to take for the identified resource.



4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4948

class LifecycleExecutionResource < Struct.new(
  :account_id,
  :resource_id,
  :state,
  :action,
  :region,
  :snapshots,
  :image_uris,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

The ending timestamp from the lifecycle action that was applied to the resource.

Returns:

  • (Time)


4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4948

class LifecycleExecutionResource < Struct.new(
  :account_id,
  :resource_id,
  :state,
  :action,
  :region,
  :snapshots,
  :image_uris,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#image_urisArray<String>

For an impacted container image, this identifies a list of URIs for associated container images distributed to ECR repositories.

Returns:

  • (Array<String>)


4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4948

class LifecycleExecutionResource < Struct.new(
  :account_id,
  :resource_id,
  :state,
  :action,
  :region,
  :snapshots,
  :image_uris,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The Amazon Web Services Region where the lifecycle execution resource is stored.

Returns:

  • (String)


4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4948

class LifecycleExecutionResource < Struct.new(
  :account_id,
  :resource_id,
  :state,
  :action,
  :region,
  :snapshots,
  :image_uris,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

Identifies the impacted resource. The resource ID depends on the type of resource, as follows.

  • Image Builder image resources: Amazon Resource Name (ARN)

  • Distributed AMIs: AMI ID

  • Container images distributed to an ECR repository: image URI or SHA Digest

Returns:

  • (String)


4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4948

class LifecycleExecutionResource < Struct.new(
  :account_id,
  :resource_id,
  :state,
  :action,
  :region,
  :snapshots,
  :image_uris,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#snapshotsArray<Types::LifecycleExecutionSnapshotResource>

A list of associated resource snapshots for the impacted resource if it’s an AMI.



4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4948

class LifecycleExecutionResource < Struct.new(
  :account_id,
  :resource_id,
  :state,
  :action,
  :region,
  :snapshots,
  :image_uris,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The starting timestamp from the lifecycle action that was applied to the resource.

Returns:

  • (Time)


4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4948

class LifecycleExecutionResource < Struct.new(
  :account_id,
  :resource_id,
  :state,
  :action,
  :region,
  :snapshots,
  :image_uris,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#stateTypes::LifecycleExecutionResourceState

The runtime state for the lifecycle execution.



4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4948

class LifecycleExecutionResource < Struct.new(
  :account_id,
  :resource_id,
  :state,
  :action,
  :region,
  :snapshots,
  :image_uris,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end