libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

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

Instances

Instances details
Eq PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

Read PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

Show 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 #

NFData PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

Methods

rnf :: PlatformDevice -> () #

Hashable PlatformDevice Source # 
Instance details

Defined in Amazonka.ECS.Types.PlatformDevice

ToJSON 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" "libZSservicesZSamazonka-ecsZSamazonka-ecs" '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 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.

$sel:type':PlatformDevice', platformDevice_type - The type of device that is available on the container instance. The only supported value is GPU.

platformDevice_id :: Lens' PlatformDevice Text Source #

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.

platformDevice_type :: Lens' PlatformDevice PlatformDeviceType Source #

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