AWS SDK for .NET Documentation
BlockDeviceMapping Class
AmazonAmazon.AutoScaling.ModelBlockDeviceMapping Did this page help you?   Yes   No    Tell us about it...

The BlockDeviceMapping data type.

Declaration Syntax
C#
public class BlockDeviceMapping
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
BlockDeviceMapping()()()()
Initializes a new instance of the BlockDeviceMapping class

DeviceName
The name of the device within Amazon EC2 (for example, /dev/sdh or xvdh).

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


Ebs
The Elastic Block Storage volume information.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
NoDevice
Suppresses the device mapping.
Note:
If NoDevice is set to 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.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VirtualName
The virtual name associated with the device.

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


WithDeviceName(String) Obsolete.
Sets the DeviceName property

WithEbs(Ebs) Obsolete.
Sets the Ebs property

WithNoDevice(Boolean) Obsolete.
Sets the NoDevice property

WithVirtualName(String) Obsolete.
Sets the VirtualName property

Inheritance Hierarchy
Object
BlockDeviceMapping

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)