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 4.5
Describes a block device mapping. This data type maps directly to the Amazon EC2 BlockDeviceMapping data type.

Inheritance Hierarchy


Namespace: Amazon.OpsWorks.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 that is exposed to the instance, such as /dev/sdh. For the root device, you can use the explicit device name or you can set this parameter to ROOT_DEVICE and AWS OpsWorks will provide the correct device name.

Public Property Ebs Amazon.OpsWorks.Model.EbsBlockDevice Gets and sets the property Ebs.

An EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is launched.

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

Suppresses the specified device included in the AMI's block device mapping.

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

The virtual device name. For more information, see BlockDeviceMapping.

Version Information

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

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