@Stability(value=Stable) public static final class CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstanceGroupConfig.VolumeSpecificationProperty>
CfnInstanceGroupConfig.VolumeSpecificationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInstanceGroupConfig.VolumeSpecificationProperty |
build()
Builds the configured instance.
|
CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder |
iops(Number iops)
Sets the value of
CfnInstanceGroupConfig.VolumeSpecificationProperty.getIops() |
CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder |
sizeInGb(Number sizeInGb)
Sets the value of
CfnInstanceGroupConfig.VolumeSpecificationProperty.getSizeInGb() |
CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder |
volumeType(String volumeType)
Sets the value of
CfnInstanceGroupConfig.VolumeSpecificationProperty.getVolumeType() |
@Stability(value=Stable) public CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder sizeInGb(Number sizeInGb)
CfnInstanceGroupConfig.VolumeSpecificationProperty.getSizeInGb()sizeInGb - The volume size, in gibibytes (GiB). This parameter is required.
This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.this@Stability(value=Stable) public CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder volumeType(String volumeType)
CfnInstanceGroupConfig.VolumeSpecificationProperty.getVolumeType()volumeType - The volume type. This parameter is required.
Volume types supported are gp2, io1, standard sc1, st1 and gp3. For gp3, customer will be able to configure IOPs but not throughput. Throughput will default to 125 MiB/s.this@Stability(value=Stable) public CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder iops(Number iops)
CfnInstanceGroupConfig.VolumeSpecificationProperty.getIops()iops - The number of I/O operations per second (IOPS) that the volume supports.
IOPS parameters are supported for volumes: io1 and gp3. Among them, IOPS parameters are required for volumes io1 but optional for volumes gp3 which default to 3000 IOPS. IOPS parameters are not supported for volumes: gp2, standard, st1 and sc1.this@Stability(value=Stable) public CfnInstanceGroupConfig.VolumeSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnInstanceGroupConfig.VolumeSpecificationProperty>CfnInstanceGroupConfig.VolumeSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.