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 VolumeConfiguration = VolumeConfiguration' {}
- newVolumeConfiguration :: Text -> Int -> Int -> VolumeConfiguration
- volumeConfiguration_iops :: Lens' VolumeConfiguration (Maybe Int)
- volumeConfiguration_raidLevel :: Lens' VolumeConfiguration (Maybe Int)
- volumeConfiguration_encrypted :: Lens' VolumeConfiguration (Maybe Bool)
- volumeConfiguration_volumeType :: Lens' VolumeConfiguration (Maybe Text)
- volumeConfiguration_mountPoint :: Lens' VolumeConfiguration Text
- volumeConfiguration_numberOfDisks :: Lens' VolumeConfiguration Int
- volumeConfiguration_size :: Lens' VolumeConfiguration Int
Documentation
data VolumeConfiguration Source #
Describes an Amazon EBS volume configuration.
See: newVolumeConfiguration
smart constructor.
VolumeConfiguration' | |
|
Instances
newVolumeConfiguration Source #
:: Text | |
-> Int | |
-> Int | |
-> VolumeConfiguration |
Create a value of VolumeConfiguration
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:VolumeConfiguration'
, volumeConfiguration_iops
- For PIOPS volumes, the IOPS per disk.
$sel:raidLevel:VolumeConfiguration'
, volumeConfiguration_raidLevel
- The volume
RAID level.
$sel:encrypted:VolumeConfiguration'
, volumeConfiguration_encrypted
- Specifies whether an Amazon EBS volume is encrypted. For more
information, see
Amazon EBS Encryption.
$sel:volumeType:VolumeConfiguration'
, volumeConfiguration_volumeType
- The volume type. For more information, see
Amazon EBS Volume Types.
standard
- Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB.io1
- Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB.gp2
- General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB.st1
- Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.sc1
- Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.
$sel:mountPoint:VolumeConfiguration'
, volumeConfiguration_mountPoint
- The volume mount point. For example "/dev/sdh".
$sel:numberOfDisks:VolumeConfiguration'
, volumeConfiguration_numberOfDisks
- The number of disks in the volume.
$sel:size:VolumeConfiguration'
, volumeConfiguration_size
- The volume size.
volumeConfiguration_iops :: Lens' VolumeConfiguration (Maybe Int) Source #
For PIOPS volumes, the IOPS per disk.
volumeConfiguration_raidLevel :: Lens' VolumeConfiguration (Maybe Int) Source #
The volume RAID level.
volumeConfiguration_encrypted :: Lens' VolumeConfiguration (Maybe Bool) Source #
Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
volumeConfiguration_volumeType :: Lens' VolumeConfiguration (Maybe Text) Source #
The volume type. For more information, see Amazon EBS Volume Types.
standard
- Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB.io1
- Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB.gp2
- General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB.st1
- Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.sc1
- Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.
volumeConfiguration_mountPoint :: Lens' VolumeConfiguration Text Source #
The volume mount point. For example "/dev/sdh".
volumeConfiguration_numberOfDisks :: Lens' VolumeConfiguration Int Source #
The number of disks in the volume.
volumeConfiguration_size :: Lens' VolumeConfiguration Int Source #
The volume size.