You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PlatformDevice as input to an Aws::Client method, you can use a vanilla Hash:

{
  id: "String", # required
  type: "GPU", # required, accepts GPU
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID for the GPU(s) 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)

    The ID for the GPU(s) on the container instance.

#typeString

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

Possible values:

  • GPU

Returns:

  • (String)

    The type of device that is available on the container instance.