@Stability(value=Stable)
public static interface CfnLayer.VolumeConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLayer.VolumeConfigurationProperty.Builder
A builder for
CfnLayer.VolumeConfigurationProperty |
static class |
CfnLayer.VolumeConfigurationProperty.Jsii$Proxy
An implementation for
CfnLayer.VolumeConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLayer.VolumeConfigurationProperty.Builder |
builder() |
default Object |
getEncrypted()
Specifies whether an Amazon EBS volume is encrypted.
|
default Number |
getIops()
The number of I/O operations per second (IOPS) to provision for the volume.
|
default String |
getMountPoint()
The volume mount point.
|
default Number |
getNumberOfDisks()
The number of disks in the volume.
|
default Number |
getRaidLevel()
The volume [RAID level](https://docs.aws.amazon.com/http://en.wikipedia.org/wiki/Standard_RAID_levels) .
|
default Number |
getSize()
The volume size.
|
default String |
getVolumeType()
The volume type.
|
@Stability(value=Stable) @Nullable default Object getEncrypted()
For more information, see Amazon EBS Encryption .
@Stability(value=Stable) @Nullable default Number getIops()
For PIOPS volumes, the IOPS per disk.
If you specify io1 for the volume type, you must specify this property.
@Stability(value=Stable) @Nullable default String getMountPoint()
For example "/dev/sdh".
@Stability(value=Stable) @Nullable default Number getNumberOfDisks()
@Stability(value=Stable) @Nullable default Number getRaidLevel()
@Stability(value=Stable) @Nullable default Number getSize()
@Stability(value=Stable) @Nullable default String getVolumeType()
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.@Stability(value=Stable) static CfnLayer.VolumeConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.