libZSservicesZSamazonka-opsworksZSamazonka-opsworks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpsWorks.Types.Volume

Description

 
Synopsis

Documentation

data Volume Source #

Describes an instance's Amazon EBS volume.

See: newVolume smart constructor.

Constructors

Volume' 

Fields

Instances

Instances details
Eq Volume Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Volume

Methods

(==) :: Volume -> Volume -> Bool #

(/=) :: Volume -> Volume -> Bool #

Read Volume Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Volume

Show Volume Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Volume

Generic Volume Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Volume

Associated Types

type Rep Volume :: Type -> Type #

Methods

from :: Volume -> Rep Volume x #

to :: Rep Volume x -> Volume #

NFData Volume Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Volume

Methods

rnf :: Volume -> () #

Hashable Volume Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Volume

Methods

hashWithSalt :: Int -> Volume -> Int #

hash :: Volume -> Int #

FromJSON Volume Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Volume

type Rep Volume Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Volume

type Rep Volume = D1 ('MetaData "Volume" "Amazonka.OpsWorks.Types.Volume" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "Volume'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "iops") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "device") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "encrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "raidArrayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "volumeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "volumeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ec2VolumeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mountPoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newVolume :: Volume Source #

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_size :: Lens' Volume (Maybe Int) Source #

The volume size.

volume_iops :: Lens' Volume (Maybe Int) Source #

For PIOPS volumes, the IOPS per disk.

volume_device :: Lens' Volume (Maybe Text) Source #

The device name.

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_name :: Lens' Volume (Maybe Text) Source #

The volume name.

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.

volume_ec2VolumeId :: Lens' Volume (Maybe Text) Source #

The Amazon EC2 volume ID.

volume_mountPoint :: Lens' Volume (Maybe Text) Source #

The volume mount point. For example, "/mnt/disk1".