Interface CfnInstanceFleetConfig.VolumeSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstanceFleetConfig.VolumeSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnInstanceFleetConfig
@Stability(Stable)
public static interface CfnInstanceFleetConfig.VolumeSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
VolumeSpecification is a subproperty of the EbsBlockDeviceConfig property type.
VolumeSecification determines the volume type, IOPS, and size (GiB) for EBS volumes attached to EC2 instances.
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.emr.*;
VolumeSpecificationProperty volumeSpecificationProperty = VolumeSpecificationProperty.builder()
.sizeInGb(123)
.volumeType("volumeType")
// the properties below are optional
.iops(123)
.throughput(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInstanceFleetConfig.VolumeSpecificationPropertystatic final classAn implementation forCfnInstanceFleetConfig.VolumeSpecificationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSizeInGb
The volume size, in gibibytes (GiB).This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
- See Also:
-
getVolumeType
The volume type.Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
- See Also:
-
getIops
The number of I/O operations per second (IOPS) that the volume supports.- See Also:
-
getThroughput
The throughput, in mebibyte per second (MiB/s).This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
- See Also:
-
builder
-