Container
¶
Source code in docs_src/capo_ecs/types/container.py
container_arn
instance-attribute
¶
container_arn: NotRequired[String]
The Amazon Resource Name (ARN) of the container.
cpu
instance-attribute
¶
cpu: NotRequired[String]
The number of CPU units set for the container. The value is 0 if no value was specified in the container definition when the task definition was registered.
exit_code
instance-attribute
¶
exit_code: NotRequired[BoxedInteger]
The exit code returned from the container.
gpu_ids
instance-attribute
¶
gpu_ids: NotRequired[GpuIds]
The IDs of each GPU assigned to the container.
health_status
instance-attribute
¶
health_status: NotRequired[HealthStatus]
The health status of the container. If health checks aren't configured for this container in its task definition, then it reports the health status as UNKNOWN.
image_digest
instance-attribute
¶
image_digest: NotRequired[String]
The container image manifest digest.
last_status
instance-attribute
¶
last_status: NotRequired[String]
The last known status of the container.
managed_agents
instance-attribute
¶
managed_agents: NotRequired[ManagedAgents]
The details of any Amazon ECS managed agents associated with the container.
memory
instance-attribute
¶
memory: NotRequired[String]
The hard limit (in MiB) of memory set for the container.
memory_reservation
instance-attribute
¶
memory_reservation: NotRequired[String]
The soft limit (in MiB) of memory set for the container.
network_bindings
instance-attribute
¶
network_bindings: NotRequired[NetworkBindings]
The network bindings associated with the container.
network_interfaces
instance-attribute
¶
network_interfaces: NotRequired[NetworkInterfaces]
The network interfaces associated with the container.
neuron_device_ids
instance-attribute
¶
neuron_device_ids: NotRequired[NeuronDeviceIds]
The IDs of each Neuron device assigned to the container.