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 a block device mapping.

Inheritance Hierarchy


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


public class BlockDeviceMapping

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). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.

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. In that case, Amazon EC2 Auto Scaling launches a replacement instance.

Public Property VirtualName System.String

Gets and sets the property VirtualName.

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

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