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
- Struct
- Aws::ECS::Types::PlatformDevice
- 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
-
#id ⇒ String
The ID for the GPU(s) on the container instance.
-
#type ⇒ String
The type of device that is available on the container instance.
Instance Attribute Details
#id ⇒ String
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.
#type ⇒ String
The type of device that is available on the container instance. The only
supported value is GPU
.
Possible values:
- GPU