class Aws::OpsWorks::Types::EbsBlockDevice
Describes an Amazon EBS volume. This data type maps directly to the Amazon EC2 [EbsBlockDevice] data type.
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html
@note When making an API call, you may pass EbsBlockDevice
data as a hash: { snapshot_id: "String", iops: 1, volume_size: 1, volume_type: "gp2", # accepts gp2, io1, standard delete_on_termination: false, }
@!attribute [rw] snapshot_id
The snapshot ID. @return [String]
@!attribute [rw] iops
The number of I/O operations per second (IOPS) that the volume supports. For more information, see [EbsBlockDevice][1]. [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html @return [Integer]
@!attribute [rw] volume_size
The volume size, in GiB. For more information, see [EbsBlockDevice][1]. [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html @return [Integer]
@!attribute [rw] volume_type
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,and `standard` for Magnetic volumes. If you specify the `io1` volume type, you must also specify a value for the `Iops` attribute. 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). @return [String]
@!attribute [rw] delete_on_termination
Whether the volume is deleted on instance termination. @return [Boolean]
@see docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EbsBlockDevice AWS API Documentation
Constants
- SENSITIVE