/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.
gp2
for General Purpose (SSD) volumes,io1
for Provisioned IOPS (SSD) volumes,st1
for Throughput Optimized hard disk drives (HDD),sc1
for Cold HDD,andstandard
for Magnetic volumes.If you specify the
io1
volume type, you must also specify a value for theIops
attribute. 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.
gp2
for General Purpose (SSD) volumes,io1
for Provisioned IOPS (SSD) volumes,st1
for Throughput Optimized hard disk drives (HDD),sc1
for Cold HDD,andstandard
for Magnetic volumes.If you specify the
io1
volume type, you must also specify a value for theIops
attribute. 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 |