Interface EmrCreateCluster.VolumeSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EmrCreateCluster.VolumeSpecificationProperty.Jsii$Proxy
- Enclosing class:
EmrCreateCluster
@Stability(Stable)
public static interface EmrCreateCluster.VolumeSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; import software.amazon.awscdk.services.stepfunctions.tasks.*; Size size; VolumeSpecificationProperty volumeSpecificationProperty = VolumeSpecificationProperty.builder() .volumeSize(size) .volumeType(EmrCreateCluster.getEbsBlockDeviceVolumeType().GP3) // the properties below are optional .iops(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEmrCreateCluster.VolumeSpecificationProperty
static final class
An implementation forEmrCreateCluster.VolumeSpecificationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVolumeSize
The volume size.If the volume type is EBS-optimized, the minimum value is 10GiB. Maximum size is 1TiB
-
getVolumeType
The volume type.Volume types supported are gp2, io1, standard.
-
getIops
The number of I/O operations per second (IOPS) that the volume supports.Default: - EMR selected default
-
builder
-