Class RayJob
(experimental) Ray Jobs class.
Inherited Members
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
Overrides
Remarks
Stability: Experimental
JobArn
(experimental) The ARN of the job.
public override string JobArn { get; }
Property Value
Overrides
Remarks
Stability: Experimental
JobName
(experimental) The name of the job.
public override string JobName { get; }
Property Value
Overrides
Remarks
Stability: Experimental
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Stability: Experimental
Role
(experimental) The IAM role Glue assumes to run this job.
public override IRole Role { get; }
Property Value
Overrides
Remarks
Stability: Experimental