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.VolumeConfiguration

Description

 
Synopsis

Documentation

data VolumeConfiguration Source #

Describes an Amazon EBS volume configuration.

See: newVolumeConfiguration smart constructor.

Constructors

VolumeConfiguration' 

Fields

  • iops :: Maybe Int

    For PIOPS volumes, the IOPS per disk.

  • raidLevel :: Maybe Int

    The volume RAID level.

  • encrypted :: Maybe Bool

    Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.

  • volumeType :: Maybe Text

    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.
  • mountPoint :: Text

    The volume mount point. For example "/dev/sdh".

  • numberOfDisks :: Int

    The number of disks in the volume.

  • size :: Int

    The volume size.

Instances

Instances details
Eq VolumeConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.VolumeConfiguration

Read VolumeConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.VolumeConfiguration

Show VolumeConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.VolumeConfiguration

Generic VolumeConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.VolumeConfiguration

Associated Types

type Rep VolumeConfiguration :: Type -> Type #

NFData VolumeConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.VolumeConfiguration

Methods

rnf :: VolumeConfiguration -> () #

Hashable VolumeConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.VolumeConfiguration

ToJSON VolumeConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.VolumeConfiguration

FromJSON VolumeConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.VolumeConfiguration

type Rep VolumeConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.VolumeConfiguration

type Rep VolumeConfiguration = D1 ('MetaData "VolumeConfiguration" "Amazonka.OpsWorks.Types.VolumeConfiguration" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "VolumeConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "iops") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "raidLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "encrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "volumeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mountPoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "numberOfDisks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newVolumeConfiguration Source #

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_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".