Skip to content

ECS  >  Structures  >  ContainerStateChange

ContainerStateChange

Structure Class

ContainerStateChange dataclass

Bases: _SerdeShape

An object that represents a change in state for a container.

Attributes

container_name class-attribute instance-attribute
container_name: str | None = ...

The name of the container.

exit_code class-attribute 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 class-attribute instance-attribute
image_digest: str | None = ...

The container image SHA 256 digest.

network_bindings class-attribute instance-attribute
network_bindings: list[NetworkBinding] | None = ...

Any network bindings that are associated with the container.

reason class-attribute instance-attribute
reason: str | None = ...

The reason for the state change.

runtime_id class-attribute instance-attribute
runtime_id: str | None = ...

The ID of the Docker container.

status class-attribute instance-attribute
status: str | None = ...

The status of the container.