@Stability(value=Stable)
public static interface CfnApplication.InitialCapacityConfigKeyValuePairProperty
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.emrserverless.*;
InitialCapacityConfigKeyValuePairProperty initialCapacityConfigKeyValuePairProperty = InitialCapacityConfigKeyValuePairProperty.builder()
.key("key")
.value(InitialCapacityConfigProperty.builder()
.workerConfiguration(WorkerConfigurationProperty.builder()
.cpu("cpu")
.memory("memory")
// the properties below are optional
.disk("disk")
.build())
.workerCount(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder
A builder for
CfnApplication.InitialCapacityConfigKeyValuePairProperty |
static class |
CfnApplication.InitialCapacityConfigKeyValuePairProperty.Jsii$Proxy
An implementation for
CfnApplication.InitialCapacityConfigKeyValuePairProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder |
builder() |
String |
getKey()
The worker type for an analytics framework.
|
Object |
getValue()
The value for the initial capacity configuration per worker.
|
@Stability(value=Stable) @NotNull String getKey()
For Spark applications, the key can either be set to Driver or Executor . For Hive applications, it can be set to HiveDriver or TezTask .
Minimum : 1
Maximum : 50
Pattern : ^[a-zA-Z]+[-_]*[a-zA-Z]+$
@Stability(value=Stable) @NotNull Object getValue()
@Stability(value=Stable) static CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder builder()
Copyright © 2022. All rights reserved.