@aws-cdk_aws-glue-alpha.Runtime

class Runtime ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Glue.Alpha.Runtime
Gogithub.com/aws/aws-cdk-go/awscdkgluealpha/v2#Runtime
Javasoftware.amazon.awscdk.services.glue.alpha.Runtime
Pythonaws_cdk.aws_glue_alpha.Runtime
TypeScript (source)@aws-cdk/aws-glue-alpha ยป Runtime

AWS Glue runtime determines the runtime engine of the job.

Example

new glue.Job(this, 'RayJob', {
  executable: glue.JobExecutable.pythonRay({
    glueVersion: glue.GlueVersion.V4_0,
    pythonVersion: glue.PythonVersion.THREE_NINE,
    runtime: glue.Runtime.RAY_TWO_FOUR,
    script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),
  }),
  workerType: glue.WorkerType.Z_2X,
  workerCount: 2,
  description: 'an example Ray job'
});

Properties

NameTypeDescription
name๐Ÿ”นstringThe name of this Runtime.
static RAY_TWO_FOUR๐Ÿ”นRuntimeRuntime for a Glue for Ray 2.4.

name๐Ÿ”น

Type: string

The name of this Runtime.


static RAY_TWO_FOUR๐Ÿ”น

Type: Runtime

Runtime for a Glue for Ray 2.4.

Methods

NameDescription
static of(runtime)๐Ÿ”นCustom runtime.

static of(runtime)๐Ÿ”น

public static of(runtime: string): Runtime

Parameters

  • runtime string โ€” custom runtime.

Returns

  • Runtime

Custom runtime.