Jump to Content

Interface ImageDetail

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

Hierarchy

  • ImageDetail

Properties

artifactMediaType?: string

The artifact media type of the image.

imageDigest?: string

The sha256 digest of the image manifest.

imageManifestMediaType?: string

The media type of the image manifest.

imagePushedAt?: Date

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

imageScanFindingsSummary?: ImageScanFindingsSummary

A summary of the last completed image scan.

imageScanStatus?: ImageScanStatus

The current state of the scan.

imageSizeInBytes?: number

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.

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.

imageTags?: string[]

The list of tags associated with this image.

lastRecordedPullTime?: Date

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

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.

registryId?: string

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

repositoryName?: string

The name of the repository to which this image belongs.