AWS::OpsWorks::Instance BlockDeviceMapping - AWS CloudFormation

AWS::OpsWorks::Instance BlockDeviceMapping

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "DeviceName" : String, "Ebs" : EbsBlockDevice, "NoDevice" : String, "VirtualName" : String }

YAML

DeviceName: String Ebs: EbsBlockDevice NoDevice: String VirtualName: String

Properties

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.

Required: No

Type: String

Update requires: Replacement

Ebs

An EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is launched. You can specify either the VirtualName or Ebs, but not both.

Required: Conditional

Type: EbsBlockDevice

Update requires: Replacement

NoDevice

Suppresses the specified device included in the AMI's block device mapping.

Required: No

Type: String

Update requires: Replacement

VirtualName

The virtual device name. For more information, see BlockDeviceMapping. You can specify either the VirtualName or Ebs, but not both.

Required: Conditional

Type: String

Update requires: Replacement