@Stability(value=Stable)
public static interface EmrCreateCluster.VolumeSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
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 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.
|
@Stability(value=Stable) @NotNull Size getVolumeSize()
If the volume type is EBS-optimized, the minimum value is 10GiB. Maximum size is 1TiB
@Stability(value=Stable) @NotNull EmrCreateCluster.EbsBlockDeviceVolumeType getVolumeType()
Volume types supported are gp2, io1, standard.
@Stability(value=Stable) @Nullable default Number getIops()
Default: - EMR selected default
@Stability(value=Stable) static EmrCreateCluster.VolumeSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.