Interface CfnApplication.WorkerConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplication.WorkerConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnApplication
@Stability(Stable)
public static interface CfnApplication.WorkerConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration of a worker.
For more information, see Supported worker configurations .
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.*; WorkerConfigurationProperty workerConfigurationProperty = WorkerConfigurationProperty.builder() .cpu("cpu") .memory("memory") // the properties below are optional .disk("disk") .diskType("diskType") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApplication.WorkerConfigurationProperty
static final class
An implementation forCfnApplication.WorkerConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getCpu()
The CPU requirements of the worker configuration.default String
getDisk()
The disk requirements of the worker configuration.default String
The disk type for every worker instance of the work type.The memory requirements of the worker configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCpu
The CPU requirements of the worker configuration.Each worker can have 1, 2, 4, 8, or 16 vCPUs.
- See Also:
-
getMemory
The memory requirements of the worker configuration.- See Also:
-
getDisk
The disk requirements of the worker configuration.- See Also:
-
getDiskType
The disk type for every worker instance of the work type.Shuffle optimized disks have higher performance characteristics and are better for shuffle heavy workloads. Default is
STANDARD
.- See Also:
-
builder
-