public static interface EmrCreateCluster.VolumeSpecificationProperty
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.stepfunctions.tasks.*; import software.amazon.awscdk.core.*; Size size; VolumeSpecificationProperty volumeSpecificationProperty = VolumeSpecificationProperty.builder() .volumeSize(size) .volumeType(EmrCreateCluster.getEbsBlockDeviceVolumeType().GP2) // the properties below are optional .iops(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
EmrCreateCluster.VolumeSpecificationProperty.Builder
A builder for
EmrCreateCluster.VolumeSpecificationProperty |
static class |
EmrCreateCluster.VolumeSpecificationProperty.Jsii$Proxy
An implementation for
EmrCreateCluster.VolumeSpecificationProperty |
Modifier and Type | Method and Description |
---|---|
static EmrCreateCluster.VolumeSpecificationProperty.Builder |
builder() |
default java.lang.Number |
getIops()
The number of I/O operations per second (IOPS) that the volume supports.
|
Size |
getVolumeSize()
The volume size.
|
EmrCreateCluster.EbsBlockDeviceVolumeType |
getVolumeType()
The volume type.
|
Size getVolumeSize()
If the volume type is EBS-optimized, the minimum value is 10GiB. Maximum size is 1TiB
EmrCreateCluster.EbsBlockDeviceVolumeType getVolumeType()
Volume types supported are gp2, io1, standard.
default java.lang.Number getIops()
Default: - EMR selected default
static EmrCreateCluster.VolumeSpecificationProperty.Builder builder()