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

Description

 
Synopsis

Documentation

data VCpuCountRange Source #

The minimum and maximum number of vCPUs.

See: newVCpuCountRange smart constructor.

Constructors

VCpuCountRange' 

Fields

  • max :: Maybe Int

    The maximum number of vCPUs. If this parameter is not specified, there is no maximum limit.

  • min :: Maybe Int

    The minimum number of vCPUs. If the value is 0, there is no minimum limit.

Instances

Instances details
ToQuery VCpuCountRange Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuCountRange

FromXML VCpuCountRange Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuCountRange

Generic VCpuCountRange Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuCountRange

Associated Types

type Rep VCpuCountRange :: Type -> Type #

Read VCpuCountRange Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuCountRange

Show VCpuCountRange Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuCountRange

NFData VCpuCountRange Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuCountRange

Methods

rnf :: VCpuCountRange -> () #

Eq VCpuCountRange Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuCountRange

Hashable VCpuCountRange Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuCountRange

type Rep VCpuCountRange Source # 
Instance details

Defined in Amazonka.EC2.Types.VCpuCountRange

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

newVCpuCountRange :: VCpuCountRange Source #

Create a value of VCpuCountRange 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:VCpuCountRange', vCpuCountRange_max - The maximum number of vCPUs. If this parameter is not specified, there is no maximum limit.

$sel:min:VCpuCountRange', vCpuCountRange_min - The minimum number of vCPUs. If the value is 0, there is no minimum limit.

vCpuCountRange_max :: Lens' VCpuCountRange (Maybe Int) Source #

The maximum number of vCPUs. If this parameter is not specified, there is no maximum limit.

vCpuCountRange_min :: Lens' VCpuCountRange (Maybe Int) Source #

The minimum number of vCPUs. If the value is 0, there is no minimum limit.