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

Description

 
Synopsis

Documentation

data InstanceBlockDeviceMappingSpecification Source #

Describes a block device mapping entry.

See: newInstanceBlockDeviceMappingSpecification smart constructor.

Constructors

InstanceBlockDeviceMappingSpecification' 

Fields

Instances

Instances details
ToQuery InstanceBlockDeviceMappingSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceBlockDeviceMappingSpecification

Generic InstanceBlockDeviceMappingSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceBlockDeviceMappingSpecification

Read InstanceBlockDeviceMappingSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceBlockDeviceMappingSpecification

Show InstanceBlockDeviceMappingSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceBlockDeviceMappingSpecification

NFData InstanceBlockDeviceMappingSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceBlockDeviceMappingSpecification

Eq InstanceBlockDeviceMappingSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceBlockDeviceMappingSpecification

Hashable InstanceBlockDeviceMappingSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceBlockDeviceMappingSpecification

type Rep InstanceBlockDeviceMappingSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceBlockDeviceMappingSpecification

type Rep InstanceBlockDeviceMappingSpecification = D1 ('MetaData "InstanceBlockDeviceMappingSpecification" "Amazonka.EC2.Types.InstanceBlockDeviceMappingSpecification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "InstanceBlockDeviceMappingSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ebs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EbsInstanceBlockDeviceSpecification))) :*: (S1 ('MetaSel ('Just "noDevice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "virtualName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newInstanceBlockDeviceMappingSpecification :: InstanceBlockDeviceMappingSpecification Source #

Create a value of InstanceBlockDeviceMappingSpecification 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:deviceName:InstanceBlockDeviceMappingSpecification', instanceBlockDeviceMappingSpecification_deviceName - The device name (for example, /dev/sdh or xvdh).

$sel:ebs:InstanceBlockDeviceMappingSpecification', instanceBlockDeviceMappingSpecification_ebs - Parameters used to automatically set up EBS volumes when the instance is launched.

$sel:noDevice:InstanceBlockDeviceMappingSpecification', instanceBlockDeviceMappingSpecification_noDevice - suppress the specified device included in the block device mapping.

$sel:virtualName:InstanceBlockDeviceMappingSpecification', instanceBlockDeviceMappingSpecification_virtualName - The virtual device name.

instanceBlockDeviceMappingSpecification_ebs :: Lens' InstanceBlockDeviceMappingSpecification (Maybe EbsInstanceBlockDeviceSpecification) Source #

Parameters used to automatically set up EBS volumes when the instance is launched.

instanceBlockDeviceMappingSpecification_noDevice :: Lens' InstanceBlockDeviceMappingSpecification (Maybe Text) Source #

suppress the specified device included in the block device mapping.