WorkerType

class aws_cdk.aws_glue.WorkerType(*args: Any, **kwargs)

Bases: object

(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').

Stability

experimental

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_glue as glue

worker_type = glue.WorkerType.G_1X

Attributes

G_1_X = <aws_cdk.aws_glue.WorkerType object>
G_2_X = <aws_cdk.aws_glue.WorkerType object>
STANDARD = <aws_cdk.aws_glue.WorkerType object>
name

(experimental) The name of this WorkerType, as expected by Job resource.

Stability

experimental

Return type

str

Static Methods

classmethod of(worker_type)

(experimental) Custom worker type.

Parameters

worker_type (str) – custom worker type.

Stability

experimental

Return type

WorkerType