Interface EmrCreateCluster.EbsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EmrCreateCluster.EbsConfigurationProperty.Jsii$Proxy
- Enclosing class:
- EmrCreateCluster
@Stability(Stable)
public static interface EmrCreateCluster.EbsConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The Amazon EBS configuration of a cluster instance.
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;
EbsConfigurationProperty ebsConfigurationProperty = EbsConfigurationProperty.builder()
.ebsBlockDeviceConfigs(List.of(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()))
.ebsOptimized(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEmrCreateCluster.EbsConfigurationPropertystatic final classAn implementation forEmrCreateCluster.EbsConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEbsBlockDeviceConfigs
@Stability(Stable) @Nullable default List<EmrCreateCluster.EbsBlockDeviceConfigProperty> getEbsBlockDeviceConfigs()An array of Amazon EBS volume specifications attached to a cluster instance.Default: - None
-
getEbsOptimized
Indicates whether an Amazon EBS volume is EBS-optimized.Default: - EMR selected default
-
builder
-