@Stability(value=Stable)
public static interface CfnCluster.VolumeSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
VolumeSecification determines the volume type, IOPS, and size (GiB) for EBS volumes attached to EC2 instances.
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.*;
VolumeSpecificationProperty volumeSpecificationProperty = VolumeSpecificationProperty.builder()
.sizeInGb(123)
.volumeType("volumeType")
// the properties below are optional
.iops(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCluster.VolumeSpecificationProperty.Builder
A builder for
CfnCluster.VolumeSpecificationProperty |
static class |
CfnCluster.VolumeSpecificationProperty.Jsii$Proxy
An implementation for
CfnCluster.VolumeSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCluster.VolumeSpecificationProperty.Builder |
builder() |
default Number |
getIops()
The number of I/O operations per second (IOPS) that the volume supports.
|
Number |
getSizeInGb()
The volume size, in gibibytes (GiB).
|
String |
getVolumeType()
The volume type.
|
@Stability(value=Stable) @NotNull Number getSizeInGb()
This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
@Stability(value=Stable) @NotNull String getVolumeType()
Volume types supported are gp2, io1, and standard.
@Stability(value=Stable) @Nullable default Number getIops()
@Stability(value=Stable) static CfnCluster.VolumeSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.