WorkerConfigurationProperty Struct
Properties for the worker configuration.
Example
ts
new tasks.GlueStartJobRun(this, 'Task', {
glueJobName: 'my-glue-job',
workerConfiguration: {
workerTypeV2: tasks.WorkerTypeV2.G_1X, // Worker type
numberOfWorkers: 2, // Number of Workers
},
});
Properties
numberOfWorkersnumbernumber_of_workersint | floatnumberOfWorkersNumberNumberOfWorkersdoubleNumberOfWorkers*float64required#The number of workers of a defined `WorkerType` that are allocated when a job runs.
workerTypeWorkerTypeworker_typeWorkerTypeworkerTypeWorkerTypeWorkerTypeWorkerTypeWorkerTypeWorkerTypedeprecated#Use `workerTypeV2` for more flexibility in defining worker types.
Default: must choose one of workerType or workerTypeV2
workerTypeV2WorkerTypeV2worker_type_v2WorkerTypeV2workerTypeV2WorkerTypeV2WorkerTypeV2WorkerTypeV2WorkerTypeV2WorkerTypeV2#The type of predefined worker that is allocated when a job runs.
Default: must choose one of workerType or workerTypeV2
Can be one of the predefined values or dynamic values using WorkerTypeV2.of(...).