AWS OpsWorks Instance BlockDeviceMapping
BlockDeviceMappings
is a property of the AWS::OpsWorks::Instance
resource that defines the block devices that are mapped to an AWS OpsWorks instance.
Syntax
JSON
{ "
DeviceName
" :String
, "Ebs
" :EbsBlockDevice
, "NoDevice
" :String
, "VirtualName
" :String
}
YAML
DeviceName
:String
Ebs
:EbsBlockDevice
NoDevice
:String
VirtualName
:String
Properties
DeviceName
-
The name of the device that is exposed to the instance, such as
/dev/dsh
orxvdh
. For the root device, you can use the explicit device name or you can set this parameter toROOT_DEVICE
. If you set the parameter toROOT_DEVICE
, AWS OpsWorks provides the correct device name.Required: No
Type: String
Ebs
-
Configuration information about the Amazon Elastic Block Store (Amazon EBS) volume.
Required: Conditional You can specify either the
VirtualName
orEbs
, but not both.Type: AWS OpsWorks Instance BlockDeviceMapping EbsBlockDevice
NoDevice
-
Suppresses the device that is specified in the block device mapping of the AWS OpsWorks instance Amazon Machine Image (AMI).
Required: No
Type: String
VirtualName
-
The name of the virtual device. The name must be in the form
ephemeral
, whereX
X
is a number equal to or greater than zero (0), for example,ephemeral0
.Required: Conditional You can specify either the
VirtualName
orEbs
, but not both.Type: String