Show / Hide Table of Contents

Class RayJob

(experimental) Ray Jobs class.

Inheritance
object
Resource
JobBase
Job
RayJob
Implements
IJob
IResource
IConstruct
IDependable
IGrantable
Inherited Members
Job.FromJobAttributes(Construct, string, IJobAttributes)
Job.CheckNoReservedArgs(IDictionary<string, string>)
Job.CodeS3ObjectUrl(Code)
Job.SetupContinuousLogging(IRole, IContinuousLoggingProps)
JobBase.BuildJobArn(Construct, string)
JobBase.Metric(string, MetricType, IMetricOptions)
JobBase.MetricFailure(IMetricOptions)
JobBase.MetricSuccess(IMetricOptions)
JobBase.MetricTimeout(IMetricOptions)
JobBase.OnEvent(string, IOnEventOptions)
JobBase.OnFailure(string, IOnEventOptions)
JobBase.OnStateChange(string, JobState, IOnEventOptions)
JobBase.OnSuccess(string, IOnEventOptions)
JobBase.OnTimeout(string, IOnEventOptions)
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public class RayJob : Job, IJob, IResource, IConstruct, IDependable, IGrantable
Syntax (vb)
Public Class RayJob Inherits Job Implements IJob, IResource, IConstruct, IDependable, IGrantable
Remarks

Glue Ray jobs use worker type Z.2X and Glue version 4.0. These are not overrideable since these are the only configuration that Glue Ray jobs currently support. The runtime defaults to Ray2.4 and min workers defaults to 3.

Stability: Experimental

ExampleMetadata: infused

Examples
using Amazon.CDK;
             using Amazon.CDK.AWS.IAM;
             Stack stack;
             IRole role;
             Code script;

             new RayJob(stack, "ImportedJob", new RayJobProps { Role = role, Script = script });

Synopsis

Constructors

RayJob(Construct, string, IRayJobProps)

(experimental) RayJob constructor.

Properties

GrantPrincipal

(experimental) The principal to grant permissions to.

JobArn

(experimental) The ARN of the job.

JobName

(experimental) The name of the job.

PROPERTY_INJECTION_ID

(experimental) Uniquely identifies this class.

Role

(experimental) The IAM role Glue assumes to run this job.

Constructors

RayJob(Construct, string, IRayJobProps)

(experimental) RayJob constructor.

public RayJob(Construct scope, string id, IRayJobProps props)
Parameters
scope Construct
id string
props IRayJobProps
Remarks

Stability: Experimental

Properties

GrantPrincipal

(experimental) The principal to grant permissions to.

public override IPrincipal GrantPrincipal { get; }
Property Value

IPrincipal

Overrides
JobBase.GrantPrincipal
Remarks

Stability: Experimental

JobArn

(experimental) The ARN of the job.

public override string JobArn { get; }
Property Value

string

Overrides
JobBase.JobArn
Remarks

Stability: Experimental

JobName

(experimental) The name of the job.

public override string JobName { get; }
Property Value

string

Overrides
JobBase.JobName
Remarks

Stability: Experimental

PROPERTY_INJECTION_ID

(experimental) Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Stability: Experimental

Role

(experimental) The IAM role Glue assumes to run this job.

public override IRole Role { get; }
Property Value

IRole

Overrides
Job.Role
Remarks

Stability: Experimental

Implements

IJob
IResource
Constructs.IConstruct
Constructs.IDependable
IGrantable
Back to top Generated by DocFX