libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management
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.SnowDeviceManagement.Types.CpuOptions

Description

 
Synopsis

Documentation

data CpuOptions Source #

The options for how a device's CPU is configured.

See: newCpuOptions smart constructor.

Constructors

CpuOptions' 

Fields

Instances

Instances details
Eq CpuOptions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.CpuOptions

Read CpuOptions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.CpuOptions

Show CpuOptions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.CpuOptions

Generic CpuOptions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.CpuOptions

Associated Types

type Rep CpuOptions :: Type -> Type #

NFData CpuOptions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.CpuOptions

Methods

rnf :: CpuOptions -> () #

Hashable CpuOptions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.CpuOptions

FromJSON CpuOptions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.CpuOptions

type Rep CpuOptions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.CpuOptions

type Rep CpuOptions = D1 ('MetaData "CpuOptions" "Amazonka.SnowDeviceManagement.Types.CpuOptions" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "CpuOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "coreCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "threadsPerCore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newCpuOptions :: CpuOptions Source #

Create a value of CpuOptions 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:coreCount:CpuOptions', cpuOptions_coreCount - The number of cores that the CPU can use.

$sel:threadsPerCore:CpuOptions', cpuOptions_threadsPerCore - The number of threads per core in the CPU.

cpuOptions_coreCount :: Lens' CpuOptions (Maybe Int) Source #

The number of cores that the CPU can use.

cpuOptions_threadsPerCore :: Lens' CpuOptions (Maybe Int) Source #

The number of threads per core in the CPU.