libZSservicesZSamazonka-opsworksZSamazonka-opsworks
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.OpsWorks.Types.BlockDeviceMapping

Description

 
Synopsis

Documentation

data BlockDeviceMapping Source #

Describes a block device mapping. This data type maps directly to the Amazon EC2 BlockDeviceMapping data type.

See: newBlockDeviceMapping smart constructor.

Constructors

BlockDeviceMapping' 

Fields

  • virtualName :: Maybe Text

    The virtual device name. For more information, see BlockDeviceMapping.

  • noDevice :: Maybe Text

    Suppresses the specified device included in the AMI's block device mapping.

  • ebs :: Maybe EbsBlockDevice

    An EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is launched.

  • deviceName :: Maybe Text

    The device name that is exposed to the instance, such as /dev/sdh. For the root device, you can use the explicit device name or you can set this parameter to ROOT_DEVICE and AWS OpsWorks Stacks will provide the correct device name.

Instances

Instances details
Eq BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.BlockDeviceMapping

Read BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.BlockDeviceMapping

Show BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.BlockDeviceMapping

Generic BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.BlockDeviceMapping

Associated Types

type Rep BlockDeviceMapping :: Type -> Type #

NFData BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.BlockDeviceMapping

Methods

rnf :: BlockDeviceMapping -> () #

Hashable BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.BlockDeviceMapping

ToJSON BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.BlockDeviceMapping

FromJSON BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.BlockDeviceMapping

type Rep BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.BlockDeviceMapping

type Rep BlockDeviceMapping = D1 ('MetaData "BlockDeviceMapping" "Amazonka.OpsWorks.Types.BlockDeviceMapping" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "BlockDeviceMapping'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "virtualName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "noDevice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ebs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EbsBlockDevice)) :*: S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newBlockDeviceMapping :: BlockDeviceMapping Source #

Create a value of BlockDeviceMapping 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:virtualName:BlockDeviceMapping', blockDeviceMapping_virtualName - The virtual device name. For more information, see BlockDeviceMapping.

$sel:noDevice:BlockDeviceMapping', blockDeviceMapping_noDevice - Suppresses the specified device included in the AMI's block device mapping.

$sel:ebs:BlockDeviceMapping', blockDeviceMapping_ebs - An EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is launched.

$sel:deviceName:BlockDeviceMapping', blockDeviceMapping_deviceName - The device name that is exposed to the instance, such as /dev/sdh. For the root device, you can use the explicit device name or you can set this parameter to ROOT_DEVICE and AWS OpsWorks Stacks will provide the correct device name.

blockDeviceMapping_virtualName :: Lens' BlockDeviceMapping (Maybe Text) Source #

The virtual device name. For more information, see BlockDeviceMapping.

blockDeviceMapping_noDevice :: Lens' BlockDeviceMapping (Maybe Text) Source #

Suppresses the specified device included in the AMI's block device mapping.

blockDeviceMapping_ebs :: Lens' BlockDeviceMapping (Maybe EbsBlockDevice) Source #

An EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is launched.

blockDeviceMapping_deviceName :: Lens' BlockDeviceMapping (Maybe Text) Source #

The device name that is exposed to the instance, such as /dev/sdh. For the root device, you can use the explicit device name or you can set this parameter to ROOT_DEVICE and AWS OpsWorks Stacks will provide the correct device name.