Class: Aws::ECS::Types::PlatformDevice
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::PlatformDevice
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
Note:
When making an API call, you may pass PlatformDevice data as a 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.
4332 4333 4334 4335 4336 |
# File 'lib/aws-sdk-ecs/types.rb', line 4332 class PlatformDevice < Struct.new( :id, :type) include Aws::Structure end |
#type ⇒ String
The type of device that is available on the container instance. The only supported value is ‘GPU`.
4332 4333 4334 4335 4336 |
# File 'lib/aws-sdk-ecs/types.rb', line 4332 class PlatformDevice < Struct.new( :id, :type) include Aws::Structure end |