@Stability(value=Stable) public static final class CfnLayer.VolumeConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLayer.VolumeConfigurationProperty>
CfnLayer.VolumeConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnLayer.VolumeConfigurationProperty.Builder encrypted(Boolean encrypted)
CfnLayer.VolumeConfigurationProperty.getEncrypted()encrypted - Specifies whether an Amazon EBS volume is encrypted.
For more information, see Amazon EBS Encryption .this@Stability(value=Stable) public CfnLayer.VolumeConfigurationProperty.Builder encrypted(IResolvable encrypted)
CfnLayer.VolumeConfigurationProperty.getEncrypted()encrypted - Specifies whether an Amazon EBS volume is encrypted.
For more information, see Amazon EBS Encryption .this@Stability(value=Stable) public CfnLayer.VolumeConfigurationProperty.Builder iops(Number iops)
CfnLayer.VolumeConfigurationProperty.getIops()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.
this@Stability(value=Stable) public CfnLayer.VolumeConfigurationProperty.Builder mountPoint(String mountPoint)
CfnLayer.VolumeConfigurationProperty.getMountPoint()mountPoint - The volume mount point.
For example "/dev/sdh".this@Stability(value=Stable) public CfnLayer.VolumeConfigurationProperty.Builder numberOfDisks(Number numberOfDisks)
CfnLayer.VolumeConfigurationProperty.getNumberOfDisks()numberOfDisks - The number of disks in the volume.this@Stability(value=Stable) public CfnLayer.VolumeConfigurationProperty.Builder raidLevel(Number raidLevel)
CfnLayer.VolumeConfigurationProperty.getRaidLevel()raidLevel - The volume [RAID level](https://docs.aws.amazon.com/http://en.wikipedia.org/wiki/Standard_RAID_levels) .this@Stability(value=Stable) public CfnLayer.VolumeConfigurationProperty.Builder size(Number size)
CfnLayer.VolumeConfigurationProperty.getSize()size - The volume size.this@Stability(value=Stable) public CfnLayer.VolumeConfigurationProperty.Builder volumeType(String volumeType)
CfnLayer.VolumeConfigurationProperty.getVolumeType()volumeType - The volume type. For more information, see [Amazon EBS Volume Types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) .
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.this@Stability(value=Stable) public CfnLayer.VolumeConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnLayer.VolumeConfigurationProperty>CfnLayer.VolumeConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.