ImageDetail
import type { ImageDetail } from "https://aws-api.deno.dev/v0.4/services/ecr.ts?docs=full";
An object that describes an image returned by a "DescribeImages" operation.
§Properties
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
A summary of the last completed image scan.
The current state of the scan.
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:
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".
The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.
Note:
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.