@Stability(value=Stable) public static final class CfnInstance.EbsBlockDeviceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstance.EbsBlockDeviceProperty>
CfnInstance.EbsBlockDeviceProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnInstance.EbsBlockDeviceProperty.Builder deleteOnTermination(Boolean deleteOnTermination)
CfnInstance.EbsBlockDeviceProperty.getDeleteOnTermination()deleteOnTermination - Whether the volume is deleted on instance termination.this@Stability(value=Stable) public CfnInstance.EbsBlockDeviceProperty.Builder deleteOnTermination(IResolvable deleteOnTermination)
CfnInstance.EbsBlockDeviceProperty.getDeleteOnTermination()deleteOnTermination - Whether the volume is deleted on instance termination.this@Stability(value=Stable) public CfnInstance.EbsBlockDeviceProperty.Builder iops(Number iops)
CfnInstance.EbsBlockDeviceProperty.getIops()iops - The number of I/O operations per second (IOPS) that the volume supports.
For more information, see EbsBlockDevice .this@Stability(value=Stable) public CfnInstance.EbsBlockDeviceProperty.Builder snapshotId(String snapshotId)
CfnInstance.EbsBlockDeviceProperty.getSnapshotId()snapshotId - The snapshot ID.this@Stability(value=Stable) public CfnInstance.EbsBlockDeviceProperty.Builder volumeSize(Number volumeSize)
CfnInstance.EbsBlockDeviceProperty.getVolumeSize()volumeSize - The volume size, in GiB.
For more information, see EbsBlockDevice .this@Stability(value=Stable) public CfnInstance.EbsBlockDeviceProperty.Builder volumeType(String volumeType)
CfnInstance.EbsBlockDeviceProperty.getVolumeType()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).
this@Stability(value=Stable) public CfnInstance.EbsBlockDeviceProperty build()
build in interface software.amazon.jsii.Builder<CfnInstance.EbsBlockDeviceProperty>CfnInstance.EbsBlockDevicePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.