@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:09.646Z") @Stability(value=Experimental) public class WorkerType extends software.amazon.jsii.JsiiObject
If you need to use a WorkerType that doesn't exist as a static member, you
can instantiate a WorkerType object, e.g: WorkerType.of('other type').
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.glue.*; WorkerType workerType = WorkerType.G_1X;
| Modifier and Type | Field and Description |
|---|---|
static WorkerType |
G_1_X
(experimental) Each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker.
|
static WorkerType |
G_2_X
(experimental) Each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker.
|
static WorkerType |
STANDARD
(experimental) Each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.
|
| Modifier | Constructor and Description |
|---|---|
protected |
WorkerType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
WorkerType(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
(experimental) The name of this WorkerType, as expected by Job resource.
|
static WorkerType |
of(String workerType)
(experimental) Custom worker type.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) public static final WorkerType G_1_X
Suitable for memory-intensive jobs.
@Stability(value=Experimental) public static final WorkerType G_2_X
Suitable for memory-intensive jobs.
@Stability(value=Experimental) public static final WorkerType STANDARD
protected WorkerType(software.amazon.jsii.JsiiObjectRef objRef)
protected WorkerType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static WorkerType of(@NotNull String workerType)
workerType - custom worker type. This parameter is required.@Stability(value=Experimental) @NotNull public String getName()
Copyright © 2022. All rights reserved.