/AWS1/CL_EC2SCHDINSTSBLKDEVMAP¶
Describes a block device mapping for a Scheduled Instance.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
IV_DEVICENAME
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The device name (for example,
/dev/sdh
orxvdh
).
IO_EBS
TYPE REF TO /AWS1/CL_EC2SCHDDINSTANCESEBS
/AWS1/CL_EC2SCHDDINSTANCESEBS
¶
Parameters used to set up EBS volumes automatically when the instance is launched.
IV_NODEVICE
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
To omit the device from the block device mapping, specify an empty string.
IV_VIRTUALNAME
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The virtual device name (
ephemeral
N). Instance store volumes are numbered starting from 0. An instance type with two available instance store volumes can specify mappings forephemeral0
andephemeral1
. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.
Queryable Attributes¶
DeviceName¶
The device name (for example,
/dev/sdh
orxvdh
).
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 |
Ebs¶
Parameters used to set up EBS volumes automatically when the instance is launched.
Accessible with the following methods¶
Method | Description |
---|---|
GET_EBS() |
Getter for EBS |
NoDevice¶
To omit the device from the block device mapping, specify an empty string.
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 (
ephemeral
N). Instance store volumes are numbered starting from 0. An instance type with two available instance store volumes can specify mappings forephemeral0
andephemeral1
. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.
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 |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_SCHDDINSTSBLOCKDEVICEMAPSET
¶
TYPES TT_SCHDDINSTSBLOCKDEVICEMAPSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2SCHDINSTSBLKDEVMAP WITH DEFAULT KEY
.