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.CpuOptionsRequest

Description

 
Synopsis

Documentation

data CpuOptionsRequest Source #

The CPU options for the instance. Both the core count and threads per core must be specified in the request.

See: newCpuOptionsRequest smart constructor.

Constructors

CpuOptionsRequest' 

Fields

  • coreCount :: Maybe Int

    The number of CPU cores for the instance.

  • threadsPerCore :: Maybe Int

    The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.

Instances

Instances details
ToQuery CpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptionsRequest

Generic CpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptionsRequest

Associated Types

type Rep CpuOptionsRequest :: Type -> Type #

Read CpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptionsRequest

Show CpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptionsRequest

NFData CpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptionsRequest

Methods

rnf :: CpuOptionsRequest -> () #

Eq CpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptionsRequest

Hashable CpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptionsRequest

type Rep CpuOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.CpuOptionsRequest

type Rep CpuOptionsRequest = D1 ('MetaData "CpuOptionsRequest" "Amazonka.EC2.Types.CpuOptionsRequest" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CpuOptionsRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "coreCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "threadsPerCore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newCpuOptionsRequest :: CpuOptionsRequest Source #

Create a value of CpuOptionsRequest 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:CpuOptionsRequest', cpuOptionsRequest_coreCount - The number of CPU cores for the instance.

$sel:threadsPerCore:CpuOptionsRequest', cpuOptionsRequest_threadsPerCore - The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.

cpuOptionsRequest_coreCount :: Lens' CpuOptionsRequest (Maybe Int) Source #

The number of CPU cores for the instance.

cpuOptionsRequest_threadsPerCore :: Lens' CpuOptionsRequest (Maybe Int) Source #

The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.