class Runtime
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.Alpha.Runtime |
Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#Runtime |
Java | software.amazon.awscdk.services.glue.alpha.Runtime |
Python | aws_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
Name | Type | Description |
---|---|---|
name | string | The name of this Runtime. |
static RAY_TWO_FOUR | Runtime | Runtime 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
Name | Description |
---|---|
static of(runtime) | Custom runtime. |
static of(runtime)
public static of(runtime: string): Runtime
Parameters
- runtime
string
— custom runtime.
Returns
Custom runtime.