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

Description

 
Synopsis

Documentation

data MemoryGiBPerVCpu Source #

The minimum and maximum amount of memory per vCPU, in GiB.

See: newMemoryGiBPerVCpu smart constructor.

Constructors

MemoryGiBPerVCpu' 

Fields

  • max :: Maybe Double

    The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no maximum limit.

  • min :: Maybe Double

    The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no minimum limit.

Instances

Instances details
ToQuery MemoryGiBPerVCpu Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryGiBPerVCpu

FromXML MemoryGiBPerVCpu Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryGiBPerVCpu

Generic MemoryGiBPerVCpu Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryGiBPerVCpu

Associated Types

type Rep MemoryGiBPerVCpu :: Type -> Type #

Read MemoryGiBPerVCpu Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryGiBPerVCpu

Show MemoryGiBPerVCpu Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryGiBPerVCpu

NFData MemoryGiBPerVCpu Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryGiBPerVCpu

Methods

rnf :: MemoryGiBPerVCpu -> () #

Eq MemoryGiBPerVCpu Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryGiBPerVCpu

Hashable MemoryGiBPerVCpu Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryGiBPerVCpu

type Rep MemoryGiBPerVCpu Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryGiBPerVCpu

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

newMemoryGiBPerVCpu :: MemoryGiBPerVCpu Source #

Create a value of MemoryGiBPerVCpu 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:max:MemoryGiBPerVCpu', memoryGiBPerVCpu_max - The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no maximum limit.

$sel:min:MemoryGiBPerVCpu', memoryGiBPerVCpu_min - The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no minimum limit.

memoryGiBPerVCpu_max :: Lens' MemoryGiBPerVCpu (Maybe Double) Source #

The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no maximum limit.

memoryGiBPerVCpu_min :: Lens' MemoryGiBPerVCpu (Maybe Double) Source #

The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no minimum limit.