View a markdown version of this page

PlatformDevice - Amazon Elastic Container Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

PlatformDevice

The devices that are available on the container instance. The supported device types are GPUs and Neuron devices.

Contents

id

The ID for the GPU or Neuron device on the container instance. For GPUs, the available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file. For Neuron devices, the ID corresponds to the device index (for example, 0 for /dev/neuron0).

Type: String

Required: Yes

type

The type of device that's available on the container instance. The supported values are GPU and NEURON_DEVICE.

Type: String

Valid Values: GPU | NEURON_DEVICE

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: