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. This data type maps directly to the Amazon EC2 BlockDeviceMapping data type.

Inheritance Hierarchy

System.Object
  Amazon.OpsWorks.Model.BlockDeviceMapping

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

Syntax

C#
public class BlockDeviceMapping

The BlockDeviceMapping type exposes the following members

Constructors

NameDescription
Public Method BlockDeviceMapping()

Properties

NameTypeDescription
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 Stacks 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 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