/AWS1/CL_OWXBLOCKDEVICEMAPPING¶
Describes a block device mapping. This data type maps directly to the Amazon EC2 BlockDeviceMapping data type.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
IV_DEVICENAME
TYPE /AWS1/OWXSTRING
/AWS1/OWXSTRING
¶
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 toROOT_DEVICE
and OpsWorks Stacks will provide the correct device name.
IV_NODEVICE
TYPE /AWS1/OWXSTRING
/AWS1/OWXSTRING
¶
Suppresses the specified device included in the AMI's block device mapping.
IV_VIRTUALNAME
TYPE /AWS1/OWXSTRING
/AWS1/OWXSTRING
¶
The virtual device name. For more information, see BlockDeviceMapping.
IO_EBS
TYPE REF TO /AWS1/CL_OWXEBSBLOCKDEVICE
/AWS1/CL_OWXEBSBLOCKDEVICE
¶
An
EBSBlockDevice
that defines how to configure an Amazon EBS volume when the instance is launched.
Queryable Attributes¶
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 toROOT_DEVICE
and OpsWorks Stacks will provide the correct device name.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DEVICENAME() |
Getter for DEVICENAME, with configurable default |
ASK_DEVICENAME() |
Getter for DEVICENAME w/ exceptions if field has no value |
HAS_DEVICENAME() |
Determine if DEVICENAME has a value |
NoDevice¶
Suppresses the specified device included in the AMI's block device mapping.
Accessible with the following methods¶
Method | Description |
---|---|
GET_NODEVICE() |
Getter for NODEVICE, with configurable default |
ASK_NODEVICE() |
Getter for NODEVICE w/ exceptions if field has no value |
HAS_NODEVICE() |
Determine if NODEVICE has a value |
VirtualName¶
The virtual device name. For more information, see BlockDeviceMapping.
Accessible with the following methods¶
Method | Description |
---|---|
GET_VIRTUALNAME() |
Getter for VIRTUALNAME, with configurable default |
ASK_VIRTUALNAME() |
Getter for VIRTUALNAME w/ exceptions if field has no value |
HAS_VIRTUALNAME() |
Determine if VIRTUALNAME has a value |
Ebs¶
An
EBSBlockDevice
that defines how to configure an Amazon EBS volume when the instance is launched.
Accessible with the following methods¶
Method | Description |
---|---|
GET_EBS() |
Getter for EBS |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_BLOCKDEVICEMAPPINGS
¶
TYPES TT_BLOCKDEVICEMAPPINGS TYPE STANDARD TABLE OF REF TO /AWS1/CL_OWXBLOCKDEVICEMAPPING WITH DEFAULT KEY
.