Skip to content

ReferencedImageDetail

Source code in docs_src/capo_ecr_public/types/referenced_image_detail.py
class ReferencedImageDetail(TypedDict, closed=True):
    image_digest: NotRequired["capo_ecr_public.types.image_digest.ImageDigest"]
    """<p>The <code>sha256</code> digest of the image manifest.</p>"""
    image_size_in_bytes: NotRequired[
        "capo_ecr_public.types.image_size_in_bytes.ImageSizeInBytes"
    ]
    """<p>The size, in bytes, of the image in the repository.</p> <p>If the image is a manifest list, this is the max size of all manifests in the list.</p> <note> <p>Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the <code>docker images</code> command shows the uncompressed image size, so it might return a larger image size than the image sizes that are returned by <code>DescribeImages</code>.</p> </note>"""
    image_pushed_at: NotRequired["capo_ecr_public.types.push_timestamp.PushTimestamp"]
    """<p>The date and time, expressed in standard JavaScript date format, which the current image tag was pushed to the repository at.</p>"""
    image_manifest_media_type: NotRequired["capo_ecr_public.types.media_type.MediaType"]
    """<p>The media type of the image manifest.</p>"""
    artifact_media_type: NotRequired["capo_ecr_public.types.media_type.MediaType"]
    """<p>The artifact media type of the image.</p>"""
    image_status: NotRequired["capo_ecr_public.types.image_status.ImageStatus"]
    """<p>The status of the image. Valid values:</p> <ul> <li> <p> <code>ACTIVE</code>: The image isn't scheduled for deletion.</p> </li> <li> <p> <code>DEPRECATED</code>: The image is scheduled for deletion. Entitled buyers can still pull it until it's deleted.</p> </li> </ul>"""
    scheduled_deletion_at: NotRequired["capo_ecr_public.types.timestamp.Timestamp"]
    """<p>The date and time that the deprecated image is scheduled for deletion. This is the time of the <code>SetImageStatus</code> request plus the deprecation period. Amazon ECR deletes the image within 24 hours after this time. Amazon ECR returns this value only when the image status is <code>DEPRECATED</code>.</p>"""

artifact_media_type instance-attribute

artifact_media_type: NotRequired[MediaType]

The artifact media type of the image.

image_digest instance-attribute

image_digest: NotRequired[ImageDigest]

The sha256 digest of the image manifest.

image_manifest_media_type instance-attribute

image_manifest_media_type: NotRequired[MediaType]

The media type of the image manifest.

image_pushed_at instance-attribute

image_pushed_at: NotRequired[PushTimestamp]

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

image_size_in_bytes instance-attribute

image_size_in_bytes: NotRequired[ImageSizeInBytes]

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

If the image is a manifest list, this is 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 might return a larger image size than the image sizes that are returned by DescribeImages.

image_status instance-attribute

image_status: NotRequired[ImageStatus]

The status of the image. Valid values:

  • ACTIVE: The image isn't scheduled for deletion.

  • DEPRECATED: The image is scheduled for deletion. Entitled buyers can still pull it until it's deleted.

scheduled_deletion_at instance-attribute

scheduled_deletion_at: NotRequired[Timestamp]

The date and time that the deprecated image is scheduled for deletion. This is the time of the SetImageStatus request plus the deprecation period. Amazon ECR deletes the image within 24 hours after this time. Amazon ECR returns this value only when the image status is DEPRECATED.