/AWS1/CL_OWXEBSBLOCKDEVICE¶
Describes an Amazon EBS volume. This data type maps directly to the Amazon EC2 EbsBlockDevice data type.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_snapshotid TYPE /AWS1/OWXSTRING /AWS1/OWXSTRING¶
The snapshot ID.
iv_iops TYPE /AWS1/OWXINTEGER /AWS1/OWXINTEGER¶
The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.
iv_volumesize TYPE /AWS1/OWXINTEGER /AWS1/OWXINTEGER¶
The volume size, in GiB. For more information, see EbsBlockDevice.
iv_volumetype TYPE /AWS1/OWXVOLUMETYPE /AWS1/OWXVOLUMETYPE¶
The volume type.
gp2for General Purpose (SSD) volumes,io1for Provisioned IOPS (SSD) volumes,st1for Throughput Optimized hard disk drives (HDD),sc1for Cold HDD,andstandardfor Magnetic volumes.If you specify the
io1volume type, you must also specify a value for theIopsattribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. Amazon Web Services uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).
iv_deleteontermination TYPE /AWS1/OWXBOOLEAN /AWS1/OWXBOOLEAN¶
Whether the volume is deleted on instance termination.
Queryable Attributes¶
SnapshotId¶
The snapshot ID.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SNAPSHOTID() |
Getter for SNAPSHOTID, with configurable default |
ASK_SNAPSHOTID() |
Getter for SNAPSHOTID w/ exceptions if field has no value |
HAS_SNAPSHOTID() |
Determine if SNAPSHOTID has a value |
Iops¶
The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IOPS() |
Getter for IOPS, with configurable default |
ASK_IOPS() |
Getter for IOPS w/ exceptions if field has no value |
HAS_IOPS() |
Determine if IOPS has a value |
VolumeSize¶
The volume size, in GiB. For more information, see EbsBlockDevice.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VOLUMESIZE() |
Getter for VOLUMESIZE, with configurable default |
ASK_VOLUMESIZE() |
Getter for VOLUMESIZE w/ exceptions if field has no value |
HAS_VOLUMESIZE() |
Determine if VOLUMESIZE has a value |
VolumeType¶
The volume type.
gp2for General Purpose (SSD) volumes,io1for Provisioned IOPS (SSD) volumes,st1for Throughput Optimized hard disk drives (HDD),sc1for Cold HDD,andstandardfor Magnetic volumes.If you specify the
io1volume type, you must also specify a value for theIopsattribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. Amazon Web Services uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VOLUMETYPE() |
Getter for VOLUMETYPE, with configurable default |
ASK_VOLUMETYPE() |
Getter for VOLUMETYPE w/ exceptions if field has no value |
HAS_VOLUMETYPE() |
Determine if VOLUMETYPE has a value |
DeleteOnTermination¶
Whether the volume is deleted on instance termination.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DELETEONTERMINATION() |
Getter for DELETEONTERMINATION, with configurable default |
ASK_DELETEONTERMINATION() |
Getter for DELETEONTERMINATION w/ exceptions if field has no |
HAS_DELETEONTERMINATION() |
Determine if DELETEONTERMINATION has a value |