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

Description

 
Synopsis

Documentation

data VCpuInfo Source #

Describes the vCPU configurations for the instance type.

See: newVCpuInfo smart constructor.

Constructors

VCpuInfo' 

Fields

Instances

Instances details
FromXML VCpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuInfo

Generic VCpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuInfo

Associated Types

type Rep VCpuInfo :: Type -> Type #

Methods

from :: VCpuInfo -> Rep VCpuInfo x #

to :: Rep VCpuInfo x -> VCpuInfo #

Read VCpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuInfo

Show VCpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuInfo

NFData VCpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuInfo

Methods

rnf :: VCpuInfo -> () #

Eq VCpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuInfo

Hashable VCpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuInfo

Methods

hashWithSalt :: Int -> VCpuInfo -> Int #

hash :: VCpuInfo -> Int #

type Rep VCpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuInfo

type Rep VCpuInfo = D1 ('MetaData "VCpuInfo" "Amazonka.EC2.Types.VCpuInfo" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "VCpuInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultCores") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "defaultThreadsPerCore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "defaultVCpus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "validCores") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Int])) :*: S1 ('MetaSel ('Just "validThreadsPerCore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Int]))))))

newVCpuInfo :: VCpuInfo Source #

Create a value of VCpuInfo 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:defaultCores:VCpuInfo', vCpuInfo_defaultCores - The default number of cores for the instance type.

$sel:defaultThreadsPerCore:VCpuInfo', vCpuInfo_defaultThreadsPerCore - The default number of threads per core for the instance type.

$sel:defaultVCpus:VCpuInfo', vCpuInfo_defaultVCpus - The default number of vCPUs for the instance type.

$sel:validCores:VCpuInfo', vCpuInfo_validCores - The valid number of cores that can be configured for the instance type.

$sel:validThreadsPerCore:VCpuInfo', vCpuInfo_validThreadsPerCore - The valid number of threads per core that can be configured for the instance type.

vCpuInfo_defaultCores :: Lens' VCpuInfo (Maybe Int) Source #

The default number of cores for the instance type.

vCpuInfo_defaultThreadsPerCore :: Lens' VCpuInfo (Maybe Int) Source #

The default number of threads per core for the instance type.

vCpuInfo_defaultVCpus :: Lens' VCpuInfo (Maybe Int) Source #

The default number of vCPUs for the instance type.

vCpuInfo_validCores :: Lens' VCpuInfo (Maybe [Int]) Source #

The valid number of cores that can be configured for the instance type.

vCpuInfo_validThreadsPerCore :: Lens' VCpuInfo (Maybe [Int]) Source #

The valid number of threads per core that can be configured for the instance type.