Class: Aws::ECS::Types::Container
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::Container
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
A Docker container that’s part of a task.
Constant Summary collapse
- SENSITIVE =
[]
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.
-
#managed_agents ⇒ Array<Types::ManagedAgent>
The details of any Amazon ECS managed agents associated with 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.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#cpu ⇒ 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.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#exit_code ⇒ Integer
The exit code returned from the container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#gpu_ids ⇒ Array<String>
The IDs of each GPU assigned to the container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#health_status ⇒ String
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`.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#image ⇒ String
The image used for the container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#image_digest ⇒ String
The container image manifest digest.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#last_status ⇒ String
The last known status of the container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#managed_agents ⇒ Array<Types::ManagedAgent>
The details of any Amazon ECS managed agents associated with the container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#memory ⇒ String
The hard limit (in MiB) of memory set for the container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#memory_reservation ⇒ String
The soft limit (in MiB) of memory set for the container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#network_bindings ⇒ Array<Types::NetworkBinding>
The network bindings associated with the container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#network_interfaces ⇒ Array<Types::NetworkInterface>
The network interfaces associated with the container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#reason ⇒ String
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#runtime_id ⇒ String
The ID of the Docker container.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |
#task_arn ⇒ String
The ARN of the task.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/aws-sdk-ecs/types.rb', line 1031 class Container < Struct.new( :container_arn, :task_arn, :name, :image, :image_digest, :runtime_id, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status, :managed_agents, :cpu, :memory, :memory_reservation, :gpu_ids) SENSITIVE = [] include Aws::Structure end |