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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApplication.InitialCapacityConfigKeyValuePairProperty
static final class
An 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
Driver
orExecutor
. For Hive applications, it can be set toHiveDriver
orTezTask
.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()
-