EbsBlockDevice
Describes an Amazon EBS volume. This data type maps directly to the Amazon EC2 EbsBlockDevice data type.
Contents
- DeleteOnTermination
-
Whether the volume is deleted on instance termination.
Type: Boolean
Required: No
- Iops
-
The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.
Type: Integer
Required: No
- SnapshotId
-
The snapshot ID.
Type: String
Required: No
- VolumeSize
-
The volume size, in GiB. For more information, see EbsBlockDevice.
Type: Integer
Required: No
- 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. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).Type: String
Valid Values:
gp2 | io1 | standardRequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: