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 Volume = Volume' {
- instanceId :: Maybe Text
- status :: Maybe Text
- size :: Maybe Int
- iops :: Maybe Int
- device :: Maybe Text
- encrypted :: Maybe Bool
- availabilityZone :: Maybe Text
- name :: Maybe Text
- raidArrayId :: Maybe Text
- volumeId :: Maybe Text
- region :: Maybe Text
- volumeType :: Maybe Text
- ec2VolumeId :: Maybe Text
- mountPoint :: Maybe Text
- newVolume :: Volume
- volume_instanceId :: Lens' Volume (Maybe Text)
- volume_status :: Lens' Volume (Maybe Text)
- volume_size :: Lens' Volume (Maybe Int)
- volume_iops :: Lens' Volume (Maybe Int)
- volume_device :: Lens' Volume (Maybe Text)
- volume_encrypted :: Lens' Volume (Maybe Bool)
- volume_availabilityZone :: Lens' Volume (Maybe Text)
- volume_name :: Lens' Volume (Maybe Text)
- volume_raidArrayId :: Lens' Volume (Maybe Text)
- volume_volumeId :: Lens' Volume (Maybe Text)
- volume_region :: Lens' Volume (Maybe Text)
- volume_volumeType :: Lens' Volume (Maybe Text)
- volume_ec2VolumeId :: Lens' Volume (Maybe Text)
- volume_mountPoint :: Lens' Volume (Maybe Text)
Documentation
Describes an instance's Amazon EBS volume.
See: newVolume
smart constructor.
Volume' | |
|
Instances
Create a value of Volume
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:instanceId:Volume'
, volume_instanceId
- The instance ID.
$sel:status:Volume'
, volume_status
- The value returned by
DescribeVolumes.
$sel:size:Volume'
, volume_size
- The volume size.
$sel:iops:Volume'
, volume_iops
- For PIOPS volumes, the IOPS per disk.
$sel:device:Volume'
, volume_device
- The device name.
$sel:encrypted:Volume'
, volume_encrypted
- Specifies whether an Amazon EBS volume is encrypted. For more
information, see
Amazon EBS Encryption.
$sel:availabilityZone:Volume'
, volume_availabilityZone
- The volume Availability Zone. For more information, see
Regions and Endpoints.
$sel:name:Volume'
, volume_name
- The volume name.
$sel:raidArrayId:Volume'
, volume_raidArrayId
- The RAID array ID.
$sel:volumeId:Volume'
, volume_volumeId
- The volume ID.
$sel:region:Volume'
, volume_region
- The AWS region. For more information about AWS regions, see
Regions and Endpoints.
$sel:volumeType:Volume'
, volume_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:ec2VolumeId:Volume'
, volume_ec2VolumeId
- The Amazon EC2 volume ID.
$sel:mountPoint:Volume'
, volume_mountPoint
- The volume mount point. For example, "/mnt/disk1".
volume_status :: Lens' Volume (Maybe Text) Source #
The value returned by DescribeVolumes.
volume_encrypted :: Lens' Volume (Maybe Bool) Source #
Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
volume_availabilityZone :: Lens' Volume (Maybe Text) Source #
The volume Availability Zone. For more information, see Regions and Endpoints.
volume_region :: Lens' Volume (Maybe Text) Source #
The AWS region. For more information about AWS regions, see Regions and Endpoints.
volume_volumeType :: Lens' Volume (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.