Class: Aws::ECS::Types::PlatformDevice

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

Overview

The devices that are available on the container instance. The only supported device type is a GPU.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID for the GPUs on the container instance. The available GPU IDs can also be obtained on the container instance in the ‘/var/lib/ecs/gpu/nvidia_gpu_info.json` file.

Returns:

  • (String)


7121
7122
7123
7124
7125
7126
# File 'lib/aws-sdk-ecs/types.rb', line 7121

class PlatformDevice < Struct.new(
  :id,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of device that’s available on the container instance. The only supported value is ‘GPU`.

Returns:

  • (String)


7121
7122
7123
7124
7125
7126
# File 'lib/aws-sdk-ecs/types.rb', line 7121

class PlatformDevice < Struct.new(
  :id,
  :type)
  SENSITIVE = []
  include Aws::Structure
end