class Aws::ECS::Types::Container

A Docker container that is part of a task.

@!attribute [rw] container_arn

The Amazon Resource Name (ARN) of the container.
@return [String]

@!attribute [rw] task_arn

The ARN of the task.
@return [String]

@!attribute [rw] name

The name of the container.
@return [String]

@!attribute [rw] image

The image used for the container.
@return [String]

@!attribute [rw] image_digest

The container image manifest digest.

<note markdown="1"> The `imageDigest` is only returned if the container is using an
image hosted in Amazon ECR, otherwise it is omitted.

 </note>
@return [String]

@!attribute [rw] runtime_id

The ID of the Docker container.
@return [String]

@!attribute [rw] last_status

The last known status of the container.
@return [String]

@!attribute [rw] exit_code

The exit code returned from the container.
@return [Integer]

@!attribute [rw] reason

A short (255 max characters) human-readable string to provide
additional details about a running or stopped container.
@return [String]

@!attribute [rw] network_bindings

The network bindings associated with the container.
@return [Array<Types::NetworkBinding>]

@!attribute [rw] network_interfaces

The network interfaces associated with the container.
@return [Array<Types::NetworkInterface>]

@!attribute [rw] health_status

The health status of the container. If health checks are not
configured for this container in its task definition, then it
reports the health status as `UNKNOWN`.
@return [String]

@!attribute [rw] managed_agents

The details of any Amazon ECS managed agents associated with the
container.
@return [Array<Types::ManagedAgent>]

@!attribute [rw] cpu

The number of CPU units set for the container. The value will be `0`
if no value was specified in the container definition when the task
definition was registered.
@return [String]

@!attribute [rw] memory

The hard limit (in MiB) of memory set for the container.
@return [String]

@!attribute [rw] memory_reservation

The soft limit (in MiB) of memory set for the container.
@return [String]

@!attribute [rw] gpu_ids

The IDs of each GPU assigned to the container.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Container AWS API Documentation

Constants

SENSITIVE