Show / Hide Table of Contents

Class Job

(experimental) A Glue Job.

Inheritance
object
Resource
JobBase
Job
PythonShellJob
RayJob
SparkJob
Implements
IJob
IResource
IConstruct
IDependable
IGrantable
Inherited Members
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)
JobBase.GrantPrincipal
JobBase.JobArn
JobBase.JobName
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 abstract class Job : JobBase, IJob, IResource, IConstruct, IDependable, IGrantable
Syntax (vb)
Public MustInherit Class Job Inherits JobBase Implements IJob, IResource, IConstruct, IDependable, IGrantable
Remarks

Stability: Experimental

Resource: AWS::Glue::Job

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Glue.Alpha;
             using Amazon.CDK.AWS.IAM;

             Role role;

             var job = Job.FromJobAttributes(this, "MyJob", new JobAttributes {
                 JobName = "jobName",

                 // the properties below are optional
                 Role = role
             });

Synopsis

Constructors

Job(Construct, string, IResourceProps?)

(experimental) A Glue Job.

Properties

Role

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

Methods

CheckNoReservedArgs(IDictionary<string, string>?)

(experimental) Check no usage of reserved arguments.

CodeS3ObjectUrl(Code)

(experimental) A Glue Job.

FromJobAttributes(Construct, string, IJobAttributes)

(experimental) Identifies an existing Glue Job from a subset of attributes that can be referenced from within another Stack or Construct.

SetupContinuousLogging(IRole, IContinuousLoggingProps?)

(experimental) Setup Continuous Logging Properties.

Constructors

Job(Construct, string, IResourceProps?)

(experimental) A Glue Job.

protected Job(Construct scope, string id, IResourceProps? props = null)
Parameters
scope Construct
id string
props IResourceProps
Remarks

Stability: Experimental

Resource: AWS::Glue::Job

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Glue.Alpha;
             using Amazon.CDK.AWS.IAM;

             Role role;

             var job = Job.FromJobAttributes(this, "MyJob", new JobAttributes {
                 JobName = "jobName",

                 // the properties below are optional
                 Role = role
             });

Properties

Role

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

public abstract IRole Role { get; }
Property Value

IRole

Remarks

Stability: Experimental

Methods

CheckNoReservedArgs(IDictionary<string, string>?)

(experimental) Check no usage of reserved arguments.

protected virtual IDictionary<string, string>? CheckNoReservedArgs(IDictionary<string, string>? defaultArguments = null)
Parameters
defaultArguments IDictionary<string, string>
Returns

IDictionary<string, string>

Remarks

Stability: Experimental

See: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html

CodeS3ObjectUrl(Code)

(experimental) A Glue Job.

protected virtual string CodeS3ObjectUrl(Code code)
Parameters
code Code
Returns

string

Remarks

Stability: Experimental

FromJobAttributes(Construct, string, IJobAttributes)

(experimental) Identifies an existing Glue Job from a subset of attributes that can be referenced from within another Stack or Construct.

public static IJob FromJobAttributes(Construct scope, string id, IJobAttributes attrs)
Parameters
scope Construct

The scope creating construct (usually this).

id string

The construct's id.

attrs IJobAttributes

Attributes for the Glue Job we want to import.

Returns

IJob

Remarks

Stability: Experimental

SetupContinuousLogging(IRole, IContinuousLoggingProps?)

(experimental) Setup Continuous Logging Properties.

protected virtual object SetupContinuousLogging(IRole role, IContinuousLoggingProps? props = null)
Parameters
role IRole

The IAM role to use for continuous logging.

props IContinuousLoggingProps

The properties for continuous logging configuration.

Returns

object

String containing the args for the continuous logging command

Remarks

Stability: Experimental

Implements

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