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)


5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5036

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.



5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5036

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)


5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5036

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


5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5036

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)


5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5036

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)


5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5036

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.



5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5036

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)


5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5036

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.



5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5036

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