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

Description

 
Synopsis

Documentation

data MemoryMiB Source #

The minimum and maximum amount of memory, in MiB.

See: newMemoryMiB smart constructor.

Constructors

MemoryMiB' 

Fields

  • max :: Maybe Int

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

  • min :: Maybe Int

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

Instances

Instances details
ToQuery MemoryMiB Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryMiB

FromXML MemoryMiB Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryMiB

Generic MemoryMiB Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryMiB

Associated Types

type Rep MemoryMiB :: Type -> Type #

Read MemoryMiB Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryMiB

Show MemoryMiB Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryMiB

NFData MemoryMiB Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryMiB

Methods

rnf :: MemoryMiB -> () #

Eq MemoryMiB Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryMiB

Hashable MemoryMiB Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryMiB

type Rep MemoryMiB Source # 
Instance details

Defined in Amazonka.EC2.Types.MemoryMiB

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

newMemoryMiB :: MemoryMiB Source #

Create a value of MemoryMiB 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:MemoryMiB', memoryMiB_max - The maximum amount of memory, in MiB. If this parameter is not specified, there is no maximum limit.

$sel:min:MemoryMiB', memoryMiB_min - The minimum amount of memory, in MiB. If this parameter is not specified, there is no minimum limit.

memoryMiB_max :: Lens' MemoryMiB (Maybe Int) Source #

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

memoryMiB_min :: Lens' MemoryMiB (Maybe Int) Source #

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