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.
-
#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.
-
#reason ⇒ String
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
-
#task_arn ⇒ String
The Amazon Resource Name (ARN) of the task.
Instance Attribute Details
#container_arn ⇒ String
The Amazon Resource Name (ARN) of the container.
150 151 152 153 154 155 156 157 158 159 |
# File 'lib/aws-sdk-ecs/types.rb', line 150 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#exit_code ⇒ Integer
The exit code returned from the container.
150 151 152 153 154 155 156 157 158 159 |
# File 'lib/aws-sdk-ecs/types.rb', line 150 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#last_status ⇒ String
The last known status of the container.
150 151 152 153 154 155 156 157 158 159 |
# File 'lib/aws-sdk-ecs/types.rb', line 150 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#name ⇒ String
The name of the container.
150 151 152 153 154 155 156 157 158 159 |
# File 'lib/aws-sdk-ecs/types.rb', line 150 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#network_bindings ⇒ Array<Types::NetworkBinding>
The network bindings associated with the container.
150 151 152 153 154 155 156 157 158 159 |
# File 'lib/aws-sdk-ecs/types.rb', line 150 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#reason ⇒ String
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
150 151 152 153 154 155 156 157 158 159 |
# File 'lib/aws-sdk-ecs/types.rb', line 150 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#task_arn ⇒ String
The Amazon Resource Name (ARN) of the task.
150 151 152 153 154 155 156 157 158 159 |
# File 'lib/aws-sdk-ecs/types.rb', line 150 class Container < Struct.new( :container_arn, :task_arn, :name, :last_status, :exit_code, :reason, :network_bindings) include Aws::Structure end |