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

System.Object
  Amazon.OpsWorks.Model.EbsBlockDevice

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

Syntax

C#
public class EbsBlockDevice

The EbsBlockDevice type exposes the following members

Constructors

NameDescription
Public Method EbsBlockDevice()

Properties

NameTypeDescription
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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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