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

Description

 
Synopsis

Documentation

data LaunchTemplateBlockDeviceMappingRequest Source #

Describes a block device mapping.

See: newLaunchTemplateBlockDeviceMappingRequest smart constructor.

Constructors

LaunchTemplateBlockDeviceMappingRequest' 

Fields

  • deviceName :: Maybe Text

    The device name (for example, /dev/sdh or xvdh).

  • ebs :: Maybe LaunchTemplateEbsBlockDeviceRequest

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

  • noDevice :: Maybe Text

    To omit the device from the block device mapping, specify an empty string.

  • virtualName :: Maybe Text

    The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

Instances

Instances details
ToQuery LaunchTemplateBlockDeviceMappingRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateBlockDeviceMappingRequest

Generic LaunchTemplateBlockDeviceMappingRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateBlockDeviceMappingRequest

Read LaunchTemplateBlockDeviceMappingRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateBlockDeviceMappingRequest

Show LaunchTemplateBlockDeviceMappingRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateBlockDeviceMappingRequest

NFData LaunchTemplateBlockDeviceMappingRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateBlockDeviceMappingRequest

Eq LaunchTemplateBlockDeviceMappingRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateBlockDeviceMappingRequest

Hashable LaunchTemplateBlockDeviceMappingRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateBlockDeviceMappingRequest

type Rep LaunchTemplateBlockDeviceMappingRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateBlockDeviceMappingRequest

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

newLaunchTemplateBlockDeviceMappingRequest :: LaunchTemplateBlockDeviceMappingRequest Source #

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

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

$sel:noDevice:LaunchTemplateBlockDeviceMappingRequest', launchTemplateBlockDeviceMappingRequest_noDevice - To omit the device from the block device mapping, specify an empty string.

$sel:virtualName:LaunchTemplateBlockDeviceMappingRequest', launchTemplateBlockDeviceMappingRequest_virtualName - The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

launchTemplateBlockDeviceMappingRequest_ebs :: Lens' LaunchTemplateBlockDeviceMappingRequest (Maybe LaunchTemplateEbsBlockDeviceRequest) Source #

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

launchTemplateBlockDeviceMappingRequest_noDevice :: Lens' LaunchTemplateBlockDeviceMappingRequest (Maybe Text) Source #

To omit the device from the block device mapping, specify an empty string.

launchTemplateBlockDeviceMappingRequest_virtualName :: Lens' LaunchTemplateBlockDeviceMappingRequest (Maybe Text) Source #

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.