AWS::OpsWorks::Layer VolumeConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

AWS::OpsWorks::Layer VolumeConfiguration

Describes an Amazon EBS volume configuration.

Syntax

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

JSON

{ "Encrypted" : Boolean, "Iops" : Integer, "MountPoint" : String, "NumberOfDisks" : Integer, "RaidLevel" : Integer, "Size" : Integer, "VolumeType" : String }

YAML

Encrypted: Boolean Iops: Integer MountPoint: String NumberOfDisks: Integer RaidLevel: Integer Size: Integer VolumeType: String

Properties

Encrypted

Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.

Required: No

Type: Boolean

Update requires: No interruption

Iops

The number of I/O operations per second (IOPS) to provision for the volume. For PIOPS volumes, the IOPS per disk.

If you specify io1 for the volume type, you must specify this property.

Required: Conditional

Type: Integer

Update requires: No interruption

MountPoint

The volume mount point. For example "/dev/sdh".

Required: No

Type: String

Update requires: No interruption

NumberOfDisks

The number of disks in the volume.

Required: No

Type: Integer

Update requires: No interruption

RaidLevel

The volume RAID level.

Required: No

Type: Integer

Update requires: No interruption

Size

The volume size.

Required: No

Type: Integer

Update requires: No interruption

VolumeType

The volume type. For more information, see Amazon EBS Volume Types.

  • standard - Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB.

  • io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB.

  • gp2 - General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB.

  • st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

  • sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

Required: No

Type: String

Update requires: No interruption