Class WorkerType
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.WorkerType
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.609Z")
@Stability(Experimental)
public class WorkerType
extends software.amazon.jsii.JsiiObject
(experimental) The type of predefined worker that is allocated when a job runs.
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;
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WorkerType
(experimental) Each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker.static final WorkerType
(experimental) Each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker.static final WorkerType
(experimental) Each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
WorkerType
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
WorkerType
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
(experimental) The name of this WorkerType, as expected by Job resource.static WorkerType
(experimental) Custom worker type.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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.Suitable for memory-intensive jobs.
-
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.Suitable for memory-intensive jobs.
-
STANDARD
(experimental) Each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.
-
-
Constructor Details
-
WorkerType
protected WorkerType(software.amazon.jsii.JsiiObjectRef objRef) -
WorkerType
protected WorkerType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
of
(experimental) Custom worker type.- Parameters:
workerType
- custom worker type. This parameter is required.
-
getName
(experimental) The name of this WorkerType, as expected by Job resource.
-