Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS OpsWorks Instance BlockDeviceMapping EbsBlockDevice

EbsBlockDevice is a property of the AWS OpsWorks Instance BlockDeviceMapping property that defines a block device for an Amazon Elastic Block Store (Amazon EBS) volume.

Syntax

JSON

Copy
{ "DeleteOnTermination" : Boolean, "Iops" : Integer, "SnapshotId" : String, "VolumeSize" : Integer, "VolumeType" : String }

YAML

Copy
DeleteOnTermination: Boolean Iops: Integer SnapshotId: String VolumeSize: Integer VolumeType: String

Properties

DeleteOnTermination

Indicates whether to delete the volume when the instance is terminated.

Required: No

Type: Boolean

Iops

The number of I/O operations per second (IOPS) that the volume supports. For more information, see Iops for the EbsBlockDevice action in the Amazon EC2 API Reference.

Required: No

Type: Integer

SnapshotId

The snapshot ID of the volume that you want to use. If you specify both the SnapshotId and VolumeSize properties, VolumeSize must be equal to or greater than the size of the snapshot.

Required: No

Type: String

VolumeSize

The volume size, in Gibibytes (GiB). If you specify both the SnapshotId and VolumeSize properties, VolumeSize must be equal to or greater than the size of the snapshot. For more information about specifying volume size, see VolumeSize for the EbsBlockDevice action in the Amazon EC2 API Reference.

Required: No

Type: Integer

VolumeType

The volume type. For more information about specifying the volume type, see VolumeType for the EbsBlockDevice action in the Amazon EC2 API Reference.

Required: No

Type: String

On this page: