@Stability(value=Stable)
public static interface CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty
extends software.amazon.jsii.JsiiSerializable
EbsBlockDeviceConfig defines the number and type of EBS volumes to associate with all EC2 instances in an EMR 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.services.emr.*;
EbsBlockDeviceConfigProperty ebsBlockDeviceConfigProperty = EbsBlockDeviceConfigProperty.builder()
.volumeSpecification(VolumeSpecificationProperty.builder()
.sizeInGb(123)
.volumeType("volumeType")
// the properties below are optional
.iops(123)
.build())
// the properties below are optional
.volumesPerInstance(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty.Builder
A builder for
CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty |
static class |
CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty.Jsii$Proxy
An implementation for
CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty.Builder |
builder() |
Object |
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 Object getVolumeSpecification()
@Stability(value=Stable) @Nullable default Number getVolumesPerInstance()
@Stability(value=Stable) static CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.