Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data VolumeSpecification = VolumeSpecification' {}
- newVolumeSpecification :: Text -> Int -> VolumeSpecification
- volumeSpecification_iops :: Lens' VolumeSpecification (Maybe Int)
- volumeSpecification_volumeType :: Lens' VolumeSpecification Text
- volumeSpecification_sizeInGB :: Lens' VolumeSpecification Int
Documentation
data VolumeSpecification Source #
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be 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:volumeType:VolumeSpecification'
, volumeSpecification_volumeType
- The volume type. Volume types supported are gp2, io1, 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_volumeType :: Lens' VolumeSpecification Text Source #
The volume type. Volume types supported are gp2, io1, 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.