Skip to content

ContainerStateChange

Source code in docs_src/capo_ecs/types/container_state_change.py
class ContainerStateChange(TypedDict, closed=True):
    container_name: NotRequired["capo_ecs.types.string.String"]
    """<p>The name of the container.</p>"""
    image_digest: NotRequired["capo_ecs.types.string.String"]
    """<p>The container image SHA 256 digest.</p>"""
    runtime_id: NotRequired["capo_ecs.types.string.String"]
    """<p>The ID of the Docker container.</p>"""
    exit_code: NotRequired["capo_ecs.types.boxed_integer.BoxedInteger"]
    """<p>The exit code for the container, if the state change is a result of the container exiting.</p>"""
    network_bindings: NotRequired["capo_ecs.types.network_bindings.NetworkBindings"]
    """<p>Any network bindings that are associated with the container.</p>"""
    reason: NotRequired["capo_ecs.types.string.String"]
    """<p>The reason for the state change.</p>"""
    status: NotRequired["capo_ecs.types.string.String"]
    """<p>The status of the container.</p>"""

container_name instance-attribute

container_name: NotRequired[String]

The name of the container.

exit_code instance-attribute

exit_code: NotRequired[BoxedInteger]

The exit code for the container, if the state change is a result of the container exiting.

image_digest instance-attribute

image_digest: NotRequired[String]

The container image SHA 256 digest.

network_bindings instance-attribute

network_bindings: NotRequired[NetworkBindings]

Any network bindings that are associated with the container.

reason instance-attribute

reason: NotRequired[String]

The reason for the state change.

runtime_id instance-attribute

runtime_id: NotRequired[String]

The ID of the Docker container.

status instance-attribute

status: NotRequired[String]

The status of the container.