Interface WorkerConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WorkerConfigurationProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-26T23:01:14.402Z")
@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 class
A builder forWorkerConfigurationProperty
static final class
An implementation forWorkerConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The number of workers of a definedWorkerType
that are allocated when a job runs.default WorkerType
Deprecated.default WorkerTypeV2
The 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 definedWorkerType
that are allocated when a job runs. -
getWorkerType
Deprecated.UseworkerTypeV2
for 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
-
workerTypeV2
for more flexibility in defining worker types.