amazonka-emr-2.0: Amazon EMR SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EMR.Types.VolumeSpecification

Description

 
Synopsis

Documentation

data VolumeSpecification Source #

EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an EC2 instance in the cluster.

See: newVolumeSpecification smart constructor.

Constructors

VolumeSpecification' 

Fields

  • iops :: Maybe Int

    The number of I/O operations per second (IOPS) that the volume supports.

  • throughput :: Maybe Natural

    The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.

  • volumeType :: Text

    The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.

  • sizeInGB :: Int

    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.

Instances

Instances details
FromJSON VolumeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.VolumeSpecification

ToJSON VolumeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.VolumeSpecification

Generic VolumeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.VolumeSpecification

Associated Types

type Rep VolumeSpecification :: Type -> Type #

Read VolumeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.VolumeSpecification

Show VolumeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.VolumeSpecification

NFData VolumeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.VolumeSpecification

Methods

rnf :: VolumeSpecification -> () #

Eq VolumeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.VolumeSpecification

Hashable VolumeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.VolumeSpecification

type Rep VolumeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.VolumeSpecification

type Rep VolumeSpecification = D1 ('MetaData "VolumeSpecification" "Amazonka.EMR.Types.VolumeSpecification" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "VolumeSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "iops") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "throughput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "volumeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sizeInGB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newVolumeSpecification Source #

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:throughput:VolumeSpecification', volumeSpecification_throughput - The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.

$sel:volumeType:VolumeSpecification', volumeSpecification_volumeType - The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and 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_throughput :: Lens' VolumeSpecification (Maybe Natural) Source #

The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.

volumeSpecification_volumeType :: Lens' VolumeSpecification Text Source #

The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and 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.