enum Runtime
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.Alpha.Runtime |
![]() | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#Runtime |
![]() | software.amazon.awscdk.services.glue.alpha.Runtime |
![]() | aws_cdk.aws_glue_alpha.Runtime |
![]() | @aws-cdk/aws-glue-alpha » Runtime |
AWS Glue runtime determines the runtime engine of the job.
Example
import * as cdk from 'aws-cdk-lib';
import * as iam from 'aws-cdk-lib/aws-iam';
declare const stack: cdk.Stack;
declare const role: iam.IRole;
declare const script: glue.Code;
new glue.RayJob(stack, 'ImportedJob', {
role,
script,
jobName: 'RayCustomJobName',
description: 'This is a description',
workerType: glue.WorkerType.Z_2X,
numberOfWorkers: 5,
runtime: glue.Runtime.RAY_TWO_FOUR,
maxRetries: 3,
maxConcurrentRuns: 100,
timeout: cdk.Duration.hours(2),
connections: [glue.Connection.fromConnectionName(stack, 'Connection', 'connectionName')],
securityConfiguration: glue.SecurityConfiguration.fromSecurityConfigurationName(stack, 'SecurityConfig', 'securityConfigName'),
tags: {
FirstTagName: 'FirstTagValue',
SecondTagName: 'SecondTagValue',
XTagName: 'XTagValue',
},
});
Members
Name | Description |
---|---|
RAY_TWO_FOUR | Runtime for a Glue for Ray 2.4. |
RAY_TWO_FOUR
Runtime for a Glue for Ray 2.4.