

# PlatformDevice
<a name="API_PlatformDevice"></a>

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

## Contents
<a name="API_PlatformDevice_Contents"></a>

 ** id **   <a name="ECS-Type-PlatformDevice-id"></a>
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.  
Type: String  
Required: Yes

 ** type **   <a name="ECS-Type-PlatformDevice-type"></a>
The type of device that's available on the container instance. The only supported value is `GPU`.  
Type: String  
Valid Values: `GPU`   
Required: Yes

## See Also
<a name="API_PlatformDevice_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/ecs-2014-11-13/PlatformDevice) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ecs-2014-11-13/PlatformDevice) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ecs-2014-11-13/PlatformDevice) 