Skip to content

/AWS1/CL_EC2LAUNCHTMPLBLKDEV00

Describes a block device mapping.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_DEVICENAME TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The device name (for example, /dev/sdh or xvdh).

IV_VIRTUALNAME TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

IO_EBS TYPE REF TO /AWS1/CL_EC2LAUNCHTMPLEBSBLK00 /AWS1/CL_EC2LAUNCHTMPLEBSBLK00

Parameters used to automatically set up EBS volumes 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.


Queryable Attributes

DeviceName

The device name (for example, /dev/sdh or xvdh).

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

VirtualName

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

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

Parameters used to automatically set up EBS volumes 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

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_LAUNCHTMPLBLOCKDEVMAPREQLST

TYPES TT_LAUNCHTMPLBLOCKDEVMAPREQLST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2LAUNCHTMPLBLKDEV00 WITH DEFAULT KEY
.