Class: Aws::ECS::Types::PlatformDevice
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::PlatformDevice
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
The devices that are available on the container instance. The supported device types are GPUs and Neuron devices.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#id ⇒ String
The ID for the GPU or Neuron device on the container instance.
-
#type ⇒ String
The type of device that's available on the container instance.
Instance Attribute Details
#id ⇒ String
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).
12276 12277 12278 12279 12280 12281 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 12276 class PlatformDevice < Struct.new( :id, :type) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of device that's available on the container instance. The
supported values are GPU and NEURON_DEVICE.
12276 12277 12278 12279 12280 12281 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 12276 class PlatformDevice < Struct.new( :id, :type) SENSITIVE = [] include Aws::Structure end |