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

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

Overview

A Docker container that's part of a task.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_arn ⇒ String

The Amazon Resource Name (ARN) of the container.

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_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.

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#exit_code ⇒ Integer

The exit code returned from the container.

Returns:

  • (Integer)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#gpu_ids ⇒ Array<String>

The IDs of each GPU assigned to the container.

Returns:

  • (Array<String>)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_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.

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#image ⇒ String

The image used for the container.

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#image_digest ⇒ String

The container image manifest digest.

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#last_status ⇒ String

The last known status of the container.

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#managed_agents ⇒ Array<Types::ManagedAgent>

The details of any Amazon ECS managed agents associated with the container.

Returns:



1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#memory ⇒ String

The hard limit (in MiB) of memory set for the container.

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#memory_reservation ⇒ String

The soft limit (in MiB) of memory set for the container.

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the container.

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#network_bindings ⇒ Array<Types::NetworkBinding>

The network bindings associated with the container.

Returns:



1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#network_interfaces ⇒ Array<Types::NetworkInterface>

The network interfaces associated with the container.

Returns:



1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#neuron_device_ids ⇒ Array<String>

The IDs of each Neuron device assigned to the container.

Returns:

  • (Array<String>)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#reason ⇒ String

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

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#runtime_id ⇒ String

The ID of the Docker container.

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end

#task_arn ⇒ String

The ARN of the task.

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1359

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,
  :neuron_device_ids)
  SENSITIVE = []
  include Aws::Structure
end