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.
workerTypeoptionalWorkerTypeworker_typeoptionalWorkerTypeworkerTypeoptionalWorkerTypeWorkerTypeoptionalWorkerTypeWorkerTypeoptionalWorkerTypedeprecated#Use `workerTypeV2` for more flexibility in defining worker types.
Default: must choose one of workerType or workerTypeV2
workerTypeV2optionalWorkerTypeV2worker_type_v2optionalWorkerTypeV2workerTypeV2optionalWorkerTypeV2WorkerTypeV2optionalWorkerTypeV2WorkerTypeV2optionalWorkerTypeV2#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(...).