Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data BlockDeviceMapping = BlockDeviceMapping' {
- virtualName :: Maybe Text
- noDevice :: Maybe Text
- ebs :: Maybe EbsBlockDevice
- deviceName :: Maybe Text
- newBlockDeviceMapping :: BlockDeviceMapping
- blockDeviceMapping_virtualName :: Lens' BlockDeviceMapping (Maybe Text)
- blockDeviceMapping_noDevice :: Lens' BlockDeviceMapping (Maybe Text)
- blockDeviceMapping_ebs :: Lens' BlockDeviceMapping (Maybe EbsBlockDevice)
- blockDeviceMapping_deviceName :: 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.
BlockDeviceMapping' | |
|
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: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.