Amazon EC2 Auto Scaling LaunchConfiguration BlockDeviceMapping
The Amazon EC2 Auto Scaling BlockDeviceMapping type is an embedded property of the AWS::AutoScaling::LaunchConfiguration
type.
Syntax
JSON
{ "DeviceName" :String, "Ebs" :AutoScaling EBS Block Device, "NoDevice" :Boolean, "VirtualName" :String}
YAML
DeviceName:StringEbs:AutoScaling EBS Block DeviceNoDevice:BooleanVirtualName:String
Properties
Note
For more information about the constraints and valid values of each property, see Ebs in the Amazon EC2 Auto Scaling API Reference.
DeviceName-
The name of the device within Amazon EC2.
Required: Yes
Type: String
Ebs-
The Amazon Elastic Block Store volume information.
Required: Conditional You can specify either
VirtualNameorEbs, but not both. NoDevice-
Suppresses the device mapping. If
NoDeviceis set to true for the root device, the instance might fail the Amazon EC2 health check. Amazon EC2 Auto Scaling launches a replacement instance if the instance fails the health check.Required: No
Type: Boolean
VirtualName-
The name of the virtual device. The name must be in the form
ephemeralwhereXXis a number starting from zero (0), for example,ephemeral0.Required: Conditional You can specify either
VirtualNameorEbs, but not both.Type: String
