Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data MemoryMiB = MemoryMiB' {}
- newMemoryMiB :: MemoryMiB
- memoryMiB_max :: Lens' MemoryMiB (Maybe Int)
- memoryMiB_min :: Lens' MemoryMiB (Maybe Int)
Documentation
The minimum and maximum amount of memory, in MiB.
See: newMemoryMiB
smart constructor.
Instances
ToQuery MemoryMiB Source # | |
Defined in Amazonka.EC2.Types.MemoryMiB toQuery :: MemoryMiB -> QueryString # | |
FromXML MemoryMiB Source # | |
Generic MemoryMiB Source # | |
Read MemoryMiB Source # | |
Show MemoryMiB Source # | |
NFData MemoryMiB Source # | |
Defined in Amazonka.EC2.Types.MemoryMiB | |
Eq MemoryMiB Source # | |
Hashable MemoryMiB Source # | |
Defined in Amazonka.EC2.Types.MemoryMiB | |
type Rep MemoryMiB Source # | |
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.