Class: Aws::ECS::Types::Container

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

A Docker container that is part of a task.

Instance Attribute Summary collapse

Instance Attribute Details

#container_arnString

The Amazon Resource Name (ARN) of the container.

Returns:

  • (String)


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_codeInteger

The exit code returned from the container.

Returns:

  • (Integer)


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_statusString

The last known status of the container.

Returns:

  • (String)


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

#nameString

The name of the container.

Returns:

  • (String)


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_bindingsArray<Types::NetworkBinding>

The network bindings associated with the container.

Returns:



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

#reasonString

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

Returns:

  • (String)


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_arnString

The Amazon Resource Name (ARN) of the task.

Returns:

  • (String)


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