You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ECS::Types::Container
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::Container
- Defined in:
- (unknown)
Overview
A Docker container that is part of a task.
Instance Attribute Summary collapse
-
#container_arn ⇒ String
The Amazon Resource Name (ARN) of the container.
-
#cpu ⇒ String
The number of CPU units set for the container.
-
#exit_code ⇒ Integer
The exit code returned from the container.
-
#gpu_ids ⇒ Array<String>
The IDs of each GPU assigned to the container.
-
#health_status ⇒ String
The health status of the container.
-
#image ⇒ String
The image used for the container.
-
#image_digest ⇒ String
The container image manifest digest.
-
#last_status ⇒ String
The last known status of the container.
-
#memory ⇒ String
The hard limit (in MiB) of memory set for the container.
-
#memory_reservation ⇒ String
The soft limit (in MiB) of memory set for the container.
-
#name ⇒ String
The name of the container.
-
#network_bindings ⇒ Array<Types::NetworkBinding>
The network bindings associated with the container.
-
#network_interfaces ⇒ Array<Types::NetworkInterface>
The network interfaces associated with the container.
-
#reason ⇒ String
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
-
#runtime_id ⇒ String
The ID of the Docker container.
-
#task_arn ⇒ String
The ARN of the task.
Instance Attribute Details
#container_arn ⇒ String
The Amazon Resource Name (ARN) of the container.
#cpu ⇒ String
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.
#exit_code ⇒ Integer
The exit code returned from the container.
#gpu_ids ⇒ Array<String>
The IDs of each GPU assigned to the container.
#health_status ⇒ String
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
.
Possible values:
- HEALTHY
- UNHEALTHY
- UNKNOWN
#image ⇒ String
The image used for the container.
#image_digest ⇒ String
The container image manifest digest.
imageDigest
is only returned if the container is using an image
hosted in Amazon ECR, otherwise it is omitted.
#last_status ⇒ String
The last known status of the container.
#memory ⇒ String
The hard limit (in MiB) of memory set for the container.
#memory_reservation ⇒ String
The soft limit (in MiB) of memory set for the container.
#name ⇒ String
The name of the container.
#network_bindings ⇒ Array<Types::NetworkBinding>
The network bindings associated with the container.
#network_interfaces ⇒ Array<Types::NetworkInterface>
The network interfaces associated with the container.
#reason ⇒ String
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
#runtime_id ⇒ String
The ID of the Docker container.
#task_arn ⇒ String
The ARN of the task.