Menu
Auto Scaling
API Reference (API Version 2011-01-01)

BlockDeviceMapping

Describes a block device mapping.

Contents

DeviceName

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

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

Required: Yes

Ebs

The information about the Amazon EBS volume.

Type: Ebs object

Required: No

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.

Type: Boolean

Required: No

VirtualName

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

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

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: