AWS::OpsWorks::Instance EbsBlockDevice - AWS CloudFormation

AWS::OpsWorks::Instance EbsBlockDevice

Syntax

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

JSON

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

YAML

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

Properties

DeleteOnTermination

Whether the volume is deleted on instance termination.

Required: No

Type: Boolean

Update requires: Replacement

Iops

The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.

Required: No

Type: Integer

Update requires: Replacement

SnapshotId

The snapshot ID.

Required: No

Type: String

Update requires: Replacement

VolumeSize

The volume size, in GiB. For more information, see EbsBlockDevice.

Required: No

Type: Integer

Update requires: Replacement

VolumeType

The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD), sc1 for Cold HDD,and standard for Magnetic volumes.

If you specify the io1 volume type, you must also specify a value for the Iops attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).

Required: No

Type: String

Allowed values: gp2 | io1 | standard

Update requires: Replacement