amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.ScheduledInstancesEbs

Description

 
Synopsis

Documentation

data ScheduledInstancesEbs Source #

Describes an EBS volume for a Scheduled Instance.

See: newScheduledInstancesEbs smart constructor.

Constructors

ScheduledInstancesEbs' 

Fields

  • deleteOnTermination :: Maybe Bool

    Indicates whether the volume is deleted on instance termination.

  • encrypted :: Maybe Bool

    Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.

  • iops :: Maybe Int

    The number of I/O operations per second (IOPS) to provision for an io1 or io2 volume, with a maximum ratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB for io2. Range is 100 to 64,000 IOPS for volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only on instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide.

    This parameter is valid only for Provisioned IOPS SSD (io1 and io2) volumes.

  • snapshotId :: Maybe Text

    The ID of the snapshot.

  • volumeSize :: Maybe Int

    The size of the volume, in GiB.

    Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.

  • volumeType :: Maybe Text

    The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

    Default: gp2

Instances

Instances details
ToQuery ScheduledInstancesEbs Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesEbs

Generic ScheduledInstancesEbs Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesEbs

Associated Types

type Rep ScheduledInstancesEbs :: Type -> Type #

Read ScheduledInstancesEbs Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesEbs

Show ScheduledInstancesEbs Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesEbs

NFData ScheduledInstancesEbs Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesEbs

Methods

rnf :: ScheduledInstancesEbs -> () #

Eq ScheduledInstancesEbs Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesEbs

Hashable ScheduledInstancesEbs Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesEbs

type Rep ScheduledInstancesEbs Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesEbs

type Rep ScheduledInstancesEbs = D1 ('MetaData "ScheduledInstancesEbs" "Amazonka.EC2.Types.ScheduledInstancesEbs" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ScheduledInstancesEbs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deleteOnTermination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "encrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "iops") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "volumeSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "volumeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newScheduledInstancesEbs :: ScheduledInstancesEbs Source #

Create a value of ScheduledInstancesEbs 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:deleteOnTermination:ScheduledInstancesEbs', scheduledInstancesEbs_deleteOnTermination - Indicates whether the volume is deleted on instance termination.

$sel:encrypted:ScheduledInstancesEbs', scheduledInstancesEbs_encrypted - Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.

$sel:iops:ScheduledInstancesEbs', scheduledInstancesEbs_iops - The number of I/O operations per second (IOPS) to provision for an io1 or io2 volume, with a maximum ratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB for io2. Range is 100 to 64,000 IOPS for volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only on instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide.

This parameter is valid only for Provisioned IOPS SSD (io1 and io2) volumes.

$sel:snapshotId:ScheduledInstancesEbs', scheduledInstancesEbs_snapshotId - The ID of the snapshot.

$sel:volumeSize:ScheduledInstancesEbs', scheduledInstancesEbs_volumeSize - The size of the volume, in GiB.

Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.

$sel:volumeType:ScheduledInstancesEbs', scheduledInstancesEbs_volumeType - The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

Default: gp2

scheduledInstancesEbs_deleteOnTermination :: Lens' ScheduledInstancesEbs (Maybe Bool) Source #

Indicates whether the volume is deleted on instance termination.

scheduledInstancesEbs_encrypted :: Lens' ScheduledInstancesEbs (Maybe Bool) Source #

Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.

scheduledInstancesEbs_iops :: Lens' ScheduledInstancesEbs (Maybe Int) Source #

The number of I/O operations per second (IOPS) to provision for an io1 or io2 volume, with a maximum ratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB for io2. Range is 100 to 64,000 IOPS for volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only on instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide.

This parameter is valid only for Provisioned IOPS SSD (io1 and io2) volumes.

scheduledInstancesEbs_volumeSize :: Lens' ScheduledInstancesEbs (Maybe Int) Source #

The size of the volume, in GiB.

Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.

scheduledInstancesEbs_volumeType :: Lens' ScheduledInstancesEbs (Maybe Text) Source #

The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

Default: gp2