| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ECS.Types.PlatformDevice
Description
Documentation
data PlatformDevice Source #
The devices that are available on the container instance. The only supported device type is a GPU.
See: newPlatformDevice smart constructor.
Constructors
| PlatformDevice' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> PlatformDeviceType | |
| -> PlatformDevice |
Create a value of PlatformDevice with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:PlatformDevice', platformDevice_id - 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.
$sel:type':PlatformDevice', platformDevice_type - The type of device that's available on the container instance. The only
supported value is GPU.
platformDevice_id :: Lens' PlatformDevice Text Source #
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.
platformDevice_type :: Lens' PlatformDevice PlatformDeviceType Source #
The type of device that's available on the container instance. The only
supported value is GPU.