Interface WorkerConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WorkerConfigurationProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:02.046Z")
@Stability(Stable)
public interface WorkerConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Properties for the worker configuration.
Example:
GlueStartJobRun.Builder.create(this, "Task")
.glueJobName("my-glue-job")
.workerConfiguration(WorkerConfigurationProperty.builder()
.workerTypeV2(WorkerTypeV2.G_1X) // Worker type
.numberOfWorkers(2)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forWorkerConfigurationPropertystatic final classAn implementation forWorkerConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The number of workers of a definedWorkerTypethat are allocated when a job runs.default WorkerTypeDeprecated.default WorkerTypeV2The type of predefined worker that is allocated when a job runs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNumberOfWorkers
The number of workers of a definedWorkerTypethat are allocated when a job runs. -
getWorkerType
Deprecated.UseworkerTypeV2for more flexibility in defining worker types.(deprecated) The type of predefined worker that is allocated when a job runs.Default: - must choose one of `workerType` or `workerTypeV2`
-
getWorkerTypeV2
The type of predefined worker that is allocated when a job runs.Can be one of the predefined values or dynamic values using
WorkerTypeV2.of(...).Default: - must choose one of `workerType` or `workerTypeV2`
-
builder
-
workerTypeV2for more flexibility in defining worker types.