Interface CfnLayer.VolumeConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLayer.VolumeConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnLayer
@Stability(Stable)
public static interface CfnLayer.VolumeConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Describes an Amazon EBS volume configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.opsworks.*;
VolumeConfigurationProperty volumeConfigurationProperty = VolumeConfigurationProperty.builder()
.encrypted(false)
.iops(123)
.mountPoint("mountPoint")
.numberOfDisks(123)
.raidLevel(123)
.size(123)
.volumeType("volumeType")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLayer.VolumeConfigurationPropertystatic final classAn implementation forCfnLayer.VolumeConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies whether an Amazon EBS volume is encrypted.default NumbergetIops()The number of I/O operations per second (IOPS) to provision for the volume.default StringThe volume mount point.default NumberThe number of disks in the volume.default NumberThe volume RAID level .default NumbergetSize()The volume size.default StringThe volume type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncrypted
Specifies whether an Amazon EBS volume is encrypted.For more information, see Amazon EBS Encryption .
-
getIops
The number of I/O operations per second (IOPS) to provision for the volume.For PIOPS volumes, the IOPS per disk.
If you specify
io1for the volume type, you must specify this property. -
getMountPoint
The volume mount point.For example "/dev/sdh".
-
getNumberOfDisks
The number of disks in the volume. -
getRaidLevel
The volume RAID level . -
getSize
The volume size. -
getVolumeType
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.
-
builder
-