Skip to content

Container

Source code in docs_src/capo_guardduty/types/container.py
class Container(TypedDict, closed=True):
    container_runtime: NotRequired["capo_guardduty.types.string.String"]
    """<p>The container runtime (such as, Docker or containerd) used to run the container.</p>"""
    id: NotRequired["capo_guardduty.types.string.String"]
    """<p>Container ID.</p>"""
    name: NotRequired["capo_guardduty.types.string.String"]
    """<p>Container name.</p>"""
    image: NotRequired["capo_guardduty.types.string.String"]
    """<p>Container image.</p>"""
    image_prefix: NotRequired["capo_guardduty.types.string.String"]
    """<p>Part of the image name before the last slash. For example, imagePrefix for public.ecr.aws/amazonlinux/amazonlinux:latest would be public.ecr.aws/amazonlinux. If the image name is relative and does not have a slash, this field is empty.</p>"""
    volume_mounts: NotRequired["capo_guardduty.types.volume_mounts.VolumeMounts"]
    """<p>Container volume mounts.</p>"""
    security_context: NotRequired[
        "capo_guardduty.types.security_context.SecurityContext"
    ]
    """<p>Container security context.</p>"""

container_runtime instance-attribute

container_runtime: NotRequired[String]

The container runtime (such as, Docker or containerd) used to run the container.

id instance-attribute

id: NotRequired[String]

Container ID.

image instance-attribute

image: NotRequired[String]

Container image.

image_prefix instance-attribute

image_prefix: NotRequired[String]

Part of the image name before the last slash. For example, imagePrefix for public.ecr.aws/amazonlinux/amazonlinux:latest would be public.ecr.aws/amazonlinux. If the image name is relative and does not have a slash, this field is empty.

name instance-attribute

name: NotRequired[String]

Container name.

security_context instance-attribute

security_context: NotRequired[SecurityContext]

Container security context.

volume_mounts instance-attribute

volume_mounts: NotRequired[VolumeMounts]

Container volume mounts.