amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECS.Types.PlatformDevice

Description

 
Synopsis

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

  • id :: Text

    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' :: PlatformDeviceType

    The type of device that's available on the container instance. The only supported value is GPU.

Instances

Instances details
ToJSON PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

Generic PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

Associated Types

type Rep PlatformDevice :: Type -> Type #

Read PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

Show PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

NFData PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

Methods

rnf :: PlatformDevice -> () #

Eq PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

Hashable PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

type Rep PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

type Rep PlatformDevice = D1 ('MetaData "PlatformDevice" "Amazonka.ECS.Types.PlatformDevice" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "PlatformDevice'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PlatformDeviceType)))

newPlatformDevice Source #

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.