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 is part of a task.
Instance Attribute Summary collapse
-
#container_arn ⇒ String
The Amazon Resource Name (ARN) of the container.
-
#exit_code ⇒ Integer
The exit code returned from the container.
-
#health_status ⇒ String
The health status of the container.
-
#last_status ⇒ String
The last known status of 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.
-
#task_arn ⇒ String
The ARN of the task.
Instance Attribute Details
#container_arn ⇒ String
The Amazon Resource Name (ARN) of the container.
278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/aws-sdk-ecs/types.rb', line 278 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status) include Aws::Structure end |
#exit_code ⇒ Integer
The exit code returned from the container.
278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/aws-sdk-ecs/types.rb', line 278 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status) include Aws::Structure end |
#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 health status as ‘UNKNOWN`.
278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/aws-sdk-ecs/types.rb', line 278 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status) include Aws::Structure end |
#last_status ⇒ String
The last known status of the container.
278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/aws-sdk-ecs/types.rb', line 278 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status) include Aws::Structure end |
#name ⇒ String
The name of the container.
278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/aws-sdk-ecs/types.rb', line 278 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status) include Aws::Structure end |
#network_bindings ⇒ Array<Types::NetworkBinding>
The network bindings associated with the container.
278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/aws-sdk-ecs/types.rb', line 278 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status) include Aws::Structure end |
#network_interfaces ⇒ Array<Types::NetworkInterface>
The network interfaces associated with the container.
278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/aws-sdk-ecs/types.rb', line 278 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status) include Aws::Structure end |
#reason ⇒ String
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/aws-sdk-ecs/types.rb', line 278 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status) include Aws::Structure end |
#task_arn ⇒ String
The ARN of the task.
278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/aws-sdk-ecs/types.rb', line 278 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings, :network_interfaces, :health_status) include Aws::Structure end |