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 VolumeSpecification = VolumeSpecification' {
- iops :: Maybe Int
- throughput :: Maybe Natural
- volumeType :: Text
- sizeInGB :: Int
- newVolumeSpecification :: Text -> Int -> VolumeSpecification
- volumeSpecification_iops :: Lens' VolumeSpecification (Maybe Int)
- volumeSpecification_throughput :: Lens' VolumeSpecification (Maybe Natural)
- volumeSpecification_volumeType :: Lens' VolumeSpecification Text
- volumeSpecification_sizeInGB :: Lens' VolumeSpecification Int
Documentation
data VolumeSpecification Source #
EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an EC2 instance in the cluster.
See: newVolumeSpecification
smart constructor.
VolumeSpecification' | |
|
Instances
newVolumeSpecification Source #
:: Text | |
-> Int | |
-> VolumeSpecification |
Create a value of VolumeSpecification
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:iops:VolumeSpecification'
, volumeSpecification_iops
- The number of I/O operations per second (IOPS) that the volume
supports.
$sel:throughput:VolumeSpecification'
, volumeSpecification_throughput
- The throughput, in mebibyte per second (MiB/s). This optional parameter
can be a number from 125 - 1000 and is valid only for gp3 volumes.
$sel:volumeType:VolumeSpecification'
, volumeSpecification_volumeType
- The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and
standard.
$sel:sizeInGB:VolumeSpecification'
, volumeSpecification_sizeInGB
- The volume size, in gibibytes (GiB). This can be a number from 1 - 1024.
If the volume type is EBS-optimized, the minimum value is 10.
volumeSpecification_iops :: Lens' VolumeSpecification (Maybe Int) Source #
The number of I/O operations per second (IOPS) that the volume supports.
volumeSpecification_throughput :: Lens' VolumeSpecification (Maybe Natural) Source #
The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
volumeSpecification_volumeType :: Lens' VolumeSpecification Text Source #
The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
volumeSpecification_sizeInGB :: Lens' VolumeSpecification Int Source #
The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.