libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

Description

 
Synopsis

Documentation

data AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails Source #

Parameters that are used to automatically set up EBS volumes when an instance is launched.

See: newAwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails smart constructor.

Constructors

AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails' 

Fields

  • deleteOnTermination :: Maybe Bool

    Whether to delete the volume when the instance is terminated.

  • volumeSize :: Maybe Int

    The volume size, in GiBs. The following are the supported volumes sizes for each volume type:

    • gp2 and gp3: 1-16,384
    • io1: 4-16,384
    • st1 and sc1: 125-16,384
    • standard: 1-1,024

    You must specify either SnapshotId or VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.

  • iops :: Maybe Int

    The number of input/output (I/O) operations per second (IOPS) to provision for the volume.

    Only supported for gp3 or io1 volumes. Required for io1 volumes. Not used with standard, gp2, st1, or sc1 volumes.

  • encrypted :: Maybe Bool

    Whether to encrypt the volume.

  • volumeType :: Maybe Text

    The volume type.

  • snapshotId :: Maybe Text

    The snapshot ID of the volume to use.

    You must specify either VolumeSize or SnapshotId.

Instances

Instances details
Eq AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

Read AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

Show AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

Generic AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

NFData AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

Hashable AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

ToJSON AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

FromJSON AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

type Rep AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

type Rep AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails = D1 ('MetaData "AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails" "Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deleteOnTermination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "volumeSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "iops") '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 "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newAwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails :: AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails Source #

Create a value of AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails 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:AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails', awsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails_deleteOnTermination - Whether to delete the volume when the instance is terminated.

$sel:volumeSize:AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails', awsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails_volumeSize - The volume size, in GiBs. The following are the supported volumes sizes for each volume type:

  • gp2 and gp3: 1-16,384
  • io1: 4-16,384
  • st1 and sc1: 125-16,384
  • standard: 1-1,024

You must specify either SnapshotId or VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.

$sel:iops:AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails', awsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails_iops - The number of input/output (I/O) operations per second (IOPS) to provision for the volume.

Only supported for gp3 or io1 volumes. Required for io1 volumes. Not used with standard, gp2, st1, or sc1 volumes.

$sel:encrypted:AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails', awsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails_encrypted - Whether to encrypt the volume.

$sel:volumeType:AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails', awsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails_volumeType - The volume type.

$sel:snapshotId:AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails', awsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails_snapshotId - The snapshot ID of the volume to use.

You must specify either VolumeSize or SnapshotId.

awsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails_volumeSize :: Lens' AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails (Maybe Int) Source #

The volume size, in GiBs. The following are the supported volumes sizes for each volume type:

  • gp2 and gp3: 1-16,384
  • io1: 4-16,384
  • st1 and sc1: 125-16,384
  • standard: 1-1,024

You must specify either SnapshotId or VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.

awsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails_iops :: Lens' AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails (Maybe Int) Source #

The number of input/output (I/O) operations per second (IOPS) to provision for the volume.

Only supported for gp3 or io1 volumes. Required for io1 volumes. Not used with standard, gp2, st1, or sc1 volumes.