Class: Aws::ECR::Types::ImageDetail

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecr/types.rb

Overview

An object that describes an image returned by a DescribeImages operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#artifact_media_typeString

The artifact media type of the image.

Returns:

  • (String)


1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
# File 'lib/aws-sdk-ecr/types.rb', line 1775

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at,
  :image_scan_status,
  :image_scan_findings_summary,
  :image_manifest_media_type,
  :artifact_media_type,
  :last_recorded_pull_time)
  SENSITIVE = []
  include Aws::Structure
end

#image_digestString

The ‘sha256` digest of the image manifest.

Returns:

  • (String)


1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
# File 'lib/aws-sdk-ecr/types.rb', line 1775

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at,
  :image_scan_status,
  :image_scan_findings_summary,
  :image_manifest_media_type,
  :artifact_media_type,
  :last_recorded_pull_time)
  SENSITIVE = []
  include Aws::Structure
end

#image_manifest_media_typeString

The media type of the image manifest.

Returns:

  • (String)


1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
# File 'lib/aws-sdk-ecr/types.rb', line 1775

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at,
  :image_scan_status,
  :image_scan_findings_summary,
  :image_manifest_media_type,
  :artifact_media_type,
  :last_recorded_pull_time)
  SENSITIVE = []
  include Aws::Structure
end

#image_pushed_atTime

The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.

Returns:

  • (Time)


1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
# File 'lib/aws-sdk-ecr/types.rb', line 1775

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at,
  :image_scan_status,
  :image_scan_findings_summary,
  :image_manifest_media_type,
  :artifact_media_type,
  :last_recorded_pull_time)
  SENSITIVE = []
  include Aws::Structure
end

#image_scan_findings_summaryTypes::ImageScanFindingsSummary

A summary of the last completed image scan.



1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
# File 'lib/aws-sdk-ecr/types.rb', line 1775

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at,
  :image_scan_status,
  :image_scan_findings_summary,
  :image_manifest_media_type,
  :artifact_media_type,
  :last_recorded_pull_time)
  SENSITIVE = []
  include Aws::Structure
end

#image_scan_statusTypes::ImageScanStatus

The current state of the scan.



1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
# File 'lib/aws-sdk-ecr/types.rb', line 1775

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at,
  :image_scan_status,
  :image_scan_findings_summary,
  :image_manifest_media_type,
  :artifact_media_type,
  :last_recorded_pull_time)
  SENSITIVE = []
  include Aws::Structure
end

#image_size_in_bytesInteger

The size, in bytes, of the image in the repository.

If the image is a manifest list, this will be the max size of all manifests in the list.

<note markdown=“1”> Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the ‘docker images` command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by DescribeImages.

</note>

Returns:

  • (Integer)


1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
# File 'lib/aws-sdk-ecr/types.rb', line 1775

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at,
  :image_scan_status,
  :image_scan_findings_summary,
  :image_manifest_media_type,
  :artifact_media_type,
  :last_recorded_pull_time)
  SENSITIVE = []
  include Aws::Structure
end

#image_tagsArray<String>

The list of tags associated with this image.

Returns:

  • (Array<String>)


1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
# File 'lib/aws-sdk-ecr/types.rb', line 1775

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at,
  :image_scan_status,
  :image_scan_findings_summary,
  :image_manifest_media_type,
  :artifact_media_type,
  :last_recorded_pull_time)
  SENSITIVE = []
  include Aws::Structure
end

#last_recorded_pull_timeTime

The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.

<note markdown=“1”> Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull an image once a day then the ‘lastRecordedPullTime` timestamp will indicate the exact time that the image was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the `lastRecordedPullTime` timestamp at least once every 24 hours, the result may not be the exact time that the image was last pulled.

</note>

Returns:

  • (Time)


1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
# File 'lib/aws-sdk-ecr/types.rb', line 1775

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at,
  :image_scan_status,
  :image_scan_findings_summary,
  :image_manifest_media_type,
  :artifact_media_type,
  :last_recorded_pull_time)
  SENSITIVE = []
  include Aws::Structure
end

#registry_idString

The Amazon Web Services account ID associated with the registry to which this image belongs.

Returns:

  • (String)


1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
# File 'lib/aws-sdk-ecr/types.rb', line 1775

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at,
  :image_scan_status,
  :image_scan_findings_summary,
  :image_manifest_media_type,
  :artifact_media_type,
  :last_recorded_pull_time)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository to which this image belongs.

Returns:

  • (String)


1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
# File 'lib/aws-sdk-ecr/types.rb', line 1775

class ImageDetail < Struct.new(
  :registry_id,
  :repository_name,
  :image_digest,
  :image_tags,
  :image_size_in_bytes,
  :image_pushed_at,
  :image_scan_status,
  :image_scan_findings_summary,
  :image_manifest_media_type,
  :artifact_media_type,
  :last_recorded_pull_time)
  SENSITIVE = []
  include Aws::Structure
end