Skip to content

Layer

Source code in docs_src/capo_ecr_public/types/layer.py
class Layer(TypedDict, closed=True):
    layer_digest: NotRequired["capo_ecr_public.types.layer_digest.LayerDigest"]
    """<p>The <code>sha256</code> digest of the image layer.</p>"""
    layer_availability: NotRequired[
        "capo_ecr_public.types.layer_availability.LayerAvailability"
    ]
    """<p>The availability status of the image layer.</p>"""
    layer_size: NotRequired[
        "capo_ecr_public.types.layer_size_in_bytes.LayerSizeInBytes"
    ]
    """<p>The size, in bytes, of the image layer.</p>"""
    media_type: NotRequired["capo_ecr_public.types.media_type.MediaType"]
    """<p>The media type of the layer, such as <code>application/vnd.docker.image.rootfs.diff.tar.gzip</code> or <code>application/vnd.oci.image.layer.v1.tar+gzip</code>.</p>"""

layer_availability instance-attribute

layer_availability: NotRequired[LayerAvailability]

The availability status of the image layer.

layer_digest instance-attribute

layer_digest: NotRequired[LayerDigest]

The sha256 digest of the image layer.

layer_size instance-attribute

layer_size: NotRequired[LayerSizeInBytes]

The size, in bytes, of the image layer.

media_type instance-attribute

media_type: NotRequired[MediaType]

The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip or application/vnd.oci.image.layer.v1.tar+gzip.