amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.CpuOptions

Description

 
Synopsis

Documentation

data CpuOptions Source #

The CPU options for the instance.

See: newCpuOptions smart constructor.

Constructors

CpuOptions' 

Fields

Instances

Instances details
FromXML CpuOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptions

Generic CpuOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptions

Associated Types

type Rep CpuOptions :: Type -> Type #

Read CpuOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptions

Show CpuOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptions

NFData CpuOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptions

Methods

rnf :: CpuOptions -> () #

Eq CpuOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptions

Hashable CpuOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptions

type Rep CpuOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptions

type Rep CpuOptions = D1 ('MetaData "CpuOptions" "Amazonka.EC2.Types.CpuOptions" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" '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 CPU cores for the instance.

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

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

The number of CPU cores for the instance.

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

The number of threads per CPU core.