Skip to content

ECS  >  Dictionaries  >  ContainerStateChangeDict

ContainerStateChangeDict

Dictionary Type

ContainerStateChangeDict

Bases: TypedDict

Dictionary form of ContainerStateChange.

Attributes

container_name instance-attribute
container_name: str | None

The name of the container.

exit_code instance-attribute
exit_code: int | None

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

image_digest instance-attribute
image_digest: str | None

The container image SHA 256 digest.

network_bindings instance-attribute
network_bindings: Sequence[NetworkBinding | NetworkBindingDict] | None

Any network bindings that are associated with the container.

reason instance-attribute
reason: str | None

The reason for the state change.

runtime_id instance-attribute
runtime_id: str | None

The ID of the Docker container.

status instance-attribute
status: str | None

The status of the container.