| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.OpsWorks.Types.BlockDeviceMapping
Description
Synopsis
- data BlockDeviceMapping = BlockDeviceMapping' {
- deviceName :: Maybe Text
- ebs :: Maybe EbsBlockDevice
- noDevice :: Maybe Text
- virtualName :: Maybe Text
- newBlockDeviceMapping :: BlockDeviceMapping
- blockDeviceMapping_deviceName :: Lens' BlockDeviceMapping (Maybe Text)
- blockDeviceMapping_ebs :: Lens' BlockDeviceMapping (Maybe EbsBlockDevice)
- blockDeviceMapping_noDevice :: Lens' BlockDeviceMapping (Maybe Text)
- blockDeviceMapping_virtualName :: Lens' BlockDeviceMapping (Maybe Text)
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
| |
Instances
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: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.
$sel:ebs:BlockDeviceMapping', blockDeviceMapping_ebs - An EBSBlockDevice that defines how to configure an Amazon EBS volume
when the instance is launched.
$sel:noDevice:BlockDeviceMapping', blockDeviceMapping_noDevice - Suppresses the specified device included in the AMI's block device
mapping.
$sel:virtualName:BlockDeviceMapping', blockDeviceMapping_virtualName - The virtual device name. For more information, see
BlockDeviceMapping.
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.
blockDeviceMapping_ebs :: Lens' BlockDeviceMapping (Maybe EbsBlockDevice) Source #
An EBSBlockDevice that defines how to configure an Amazon EBS volume
when the instance is launched.
blockDeviceMapping_noDevice :: Lens' BlockDeviceMapping (Maybe Text) Source #
Suppresses the specified device included in the AMI's block device mapping.
blockDeviceMapping_virtualName :: Lens' BlockDeviceMapping (Maybe Text) Source #
The virtual device name. For more information, see BlockDeviceMapping.