Skip to content

ImageDetail

Source code in docs_src/capo_ecr/types/image_detail.py
class ImageDetail(TypedDict, closed=True):
    registry_id: NotRequired["capo_ecr.types.registry_id.RegistryId"]
    """<p>The Amazon Web Services account ID associated with the registry to which this image belongs.</p>"""
    repository_name: NotRequired["capo_ecr.types.repository_name.RepositoryName"]
    """<p>The name of the repository to which this image belongs.</p>"""
    image_digest: NotRequired["capo_ecr.types.image_digest.ImageDigest"]
    """<p>The <code>sha256</code> digest of the image manifest.</p>"""
    image_tags: NotRequired["capo_ecr.types.image_tag_list.ImageTagList"]
    """<p>The list of tags associated with this image.</p>"""
    image_size_in_bytes: NotRequired[
        "capo_ecr.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 will be the max size of all manifests in the list.</p> <note> <p>Starting 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. Therefore, Docker might return a larger image than the image shown in the Amazon Web Services Management Console.</p> </note>"""
    image_pushed_at: NotRequired["capo_ecr.types.push_timestamp.PushTimestamp"]
    """<p>The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository. </p>"""
    image_scan_status: NotRequired["capo_ecr.types.image_scan_status.ImageScanStatus"]
    """<p>The current state of the scan.</p>"""
    image_scan_findings_summary: NotRequired[
        "capo_ecr.types.image_scan_findings_summary.ImageScanFindingsSummary"
    ]
    """<p>A summary of the last completed image scan.</p>"""
    image_manifest_media_type: NotRequired["capo_ecr.types.media_type.MediaType"]
    """<p>The media type of the image manifest.</p>"""
    artifact_media_type: NotRequired["capo_ecr.types.media_type.MediaType"]
    """<p>The artifact media type of the image.</p>"""
    last_recorded_pull_time: NotRequired[
        "capo_ecr.types.recorded_pull_timestamp.RecordedPullTimestamp"
    ]
    """<p>The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.</p> <note> <p>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 <code>lastRecordedPullTime</code> 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 <code>lastRecordedPullTime</code> timestamp at least once every 24 hours, the result may not be the exact time that the image was last pulled.</p> </note>"""
    subject_manifest_digest: NotRequired["capo_ecr.types.image_digest.ImageDigest"]
    """<p>The digest of the subject manifest for images that are referrers.</p>"""
    image_status: NotRequired["capo_ecr.types.image_status.ImageStatus"]
    """<p>The current status of the image.</p>"""
    last_archived_at: NotRequired[
        "capo_ecr.types.last_archived_at_timestamp.LastArchivedAtTimestamp"
    ]
    """<p>The date and time, expressed in standard JavaScript date format, when the image was last transitioned to Amazon ECR archive.</p>"""
    last_activated_at: NotRequired[
        "capo_ecr.types.last_activated_at_timestamp.LastActivatedAtTimestamp"
    ]
    """<p>The date and time, expressed in standard JavaScript date format, when the image was last restored from Amazon ECR archive to Amazon ECR standard.</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, at which the current image was pushed to the repository.

image_scan_findings_summary instance-attribute

image_scan_findings_summary: NotRequired[ImageScanFindingsSummary]

A summary of the last completed image scan.

image_scan_status instance-attribute

image_scan_status: NotRequired[ImageScanStatus]

The current state of the scan.

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 will be the max size of all manifests in the list.

Starting 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. Therefore, Docker might return a larger image than the image shown in the Amazon Web Services Management Console.

image_status instance-attribute

image_status: NotRequired[ImageStatus]

The current status of the image.

image_tags instance-attribute

image_tags: NotRequired[ImageTagList]

The list of tags associated with this image.

last_activated_at instance-attribute

last_activated_at: NotRequired[LastActivatedAtTimestamp]

The date and time, expressed in standard JavaScript date format, when the image was last restored from Amazon ECR archive to Amazon ECR standard.

last_archived_at instance-attribute

last_archived_at: NotRequired[LastArchivedAtTimestamp]

The date and time, expressed in standard JavaScript date format, when the image was last transitioned to Amazon ECR archive.

last_recorded_pull_time instance-attribute

last_recorded_pull_time: NotRequired[RecordedPullTimestamp]

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.

registry_id instance-attribute

registry_id: NotRequired[RegistryId]

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

repository_name instance-attribute

repository_name: NotRequired[RepositoryName]

The name of the repository to which this image belongs.

subject_manifest_digest instance-attribute

subject_manifest_digest: NotRequired[ImageDigest]

The digest of the subject manifest for images that are referrers.