@Stability(value=Stable)
public static interface EmrCreateCluster.EbsBlockDeviceConfigProperty
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;
EbsBlockDeviceConfigProperty ebsBlockDeviceConfigProperty = EbsBlockDeviceConfigProperty.builder()
.volumeSpecification(VolumeSpecificationProperty.builder()
.volumeSize(size)
.volumeType(EmrCreateCluster.getEbsBlockDeviceVolumeType().GP2)
// the properties below are optional
.iops(123)
.build())
// the properties below are optional
.volumesPerInstance(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
EmrCreateCluster.EbsBlockDeviceConfigProperty.Builder
A builder for
EmrCreateCluster.EbsBlockDeviceConfigProperty |
static class |
EmrCreateCluster.EbsBlockDeviceConfigProperty.Jsii$Proxy
An implementation for
EmrCreateCluster.EbsBlockDeviceConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static EmrCreateCluster.EbsBlockDeviceConfigProperty.Builder |
builder() |
EmrCreateCluster.VolumeSpecificationProperty |
getVolumeSpecification()
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.
|
default Number |
getVolumesPerInstance()
Number of EBS volumes with a specific volume configuration that will be associated with every instance in the instance group.
|
@Stability(value=Stable) @NotNull EmrCreateCluster.VolumeSpecificationProperty getVolumeSpecification()
@Stability(value=Stable) @Nullable default Number getVolumesPerInstance()
Default: EMR selected default
@Stability(value=Stable) static EmrCreateCluster.EbsBlockDeviceConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.