Interface CfnApplication.InitialCapacityConfigKeyValuePairProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplication.InitialCapacityConfigKeyValuePairProperty.Jsii$Proxy
- Enclosing class:
- CfnApplication
@Stability(Stable)
public static interface CfnApplication.InitialCapacityConfigKeyValuePairProperty
extends software.amazon.jsii.JsiiSerializable
The initial capacity configuration per worker.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplication.InitialCapacityConfigKeyValuePairPropertystatic final classAn implementation forCfnApplication.InitialCapacityConfigKeyValuePairProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKey
The worker type for an analytics framework.For Spark applications, the key can either be set to
DriverorExecutor. For Hive applications, it can be set toHiveDriverorTezTask.Minimum : 1
Maximum : 50
Pattern :
^[a-zA-Z]+[-_]*[a-zA-Z]+$ -
getValue
The value for the initial capacity configuration per worker. -
builder
@Stability(Stable) static CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder builder()
-