AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes an Amazon EBS volume. This data type maps directly to the Amazon EC2 EbsBlockDevice data type.

Inheritance Hierarchy


Namespace: Amazon.OpsWorks.Model
Assembly: AWSSDK.OpsWorks.dll
Version: 3.x.y.z


public class EbsBlockDevice

The EbsBlockDevice type exposes the following members


Public Method EbsBlockDevice()


Public Property DeleteOnTermination System.Boolean

Gets and sets the property DeleteOnTermination.

Whether the volume is deleted on instance termination.

Public Property Iops System.Int32

Gets and sets the property Iops.

The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.

Public Property SnapshotId System.String

Gets and sets the property SnapshotId.

The snapshot ID.

Public Property VolumeSize System.Int32

Gets and sets the property VolumeSize.

The volume size, in GiB. For more information, see EbsBlockDevice.

Public Property VolumeType Amazon.OpsWorks.VolumeType

Gets and sets the property 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,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).

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms