Interface CfnApplicationPropsMixin.WorkerConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationPropsMixin.WorkerConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnApplicationPropsMixin
@Stability(Stable)
public static interface CfnApplicationPropsMixin.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.cfnpropertymixins.services.emrserverless.*;
WorkerConfigurationProperty workerConfigurationProperty = WorkerConfigurationProperty.builder()
.cpu("cpu")
.disk("disk")
.diskType("diskType")
.memory("memory")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplicationPropsMixin.WorkerConfigurationPropertystatic final classAn implementation forCfnApplicationPropsMixin.WorkerConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetCpu()The CPU requirements of the worker configuration.default StringgetDisk()The disk requirements of the worker configuration.default StringThe disk type for every worker instance of the work type.default StringThe 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:
-
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:
-
getMemory
The memory requirements of the worker configuration.- See Also:
-
builder
-