AWS SDK Version 2 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.

.NET Framework 3.5
Describes a block device mapping.

Inheritance Hierarchy


Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class BlockDeviceMapping : Object

The BlockDeviceMapping type exposes the following members


Public Method BlockDeviceMapping()


Public Property DeviceName System.String Gets and sets the property DeviceName.

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh).

Public Property Ebs Amazon.AutoScaling.Model.Ebs Gets and sets the property Ebs.

The information about the Amazon EBS volume.

Public Property NoDevice System.Boolean Gets and sets the property NoDevice.

Suppresses a device mapping.

If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check.

Public Property VirtualName System.String Gets and sets the property VirtualName.

The name of the virtual device (for example, ephemeral0).

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8