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’s part of a task.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_arnString

The Amazon Resource Name (ARN) of the container.

Returns:

  • (String)


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

#cpuString

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)


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_codeInteger

The exit code returned from the container.

Returns:

  • (Integer)


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_idsArray<String>

The IDs of each GPU assigned to the container.

Returns:

  • (Array<String>)


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_statusString

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)


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

#imageString

The image used for the container.

Returns:

  • (String)


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_digestString

The container image manifest digest.

Returns:

  • (String)


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_statusString

The last known status of the container.

Returns:

  • (String)


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_agentsArray<Types::ManagedAgent>

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

Returns:



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

#memoryString

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

Returns:

  • (String)


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_reservationString

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

Returns:

  • (String)


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

#nameString

The name of the container.

Returns:

  • (String)


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

The network bindings associated with the container.

Returns:



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_interfacesArray<Types::NetworkInterface>

The network interfaces associated with the container.

Returns:



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

#reasonString

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

Returns:

  • (String)


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_idString

The ID of the Docker container.

Returns:

  • (String)


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_arnString

The ARN of the task.

Returns:

  • (String)


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