java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IResource, IJob, IGrantable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable
Direct Known Subclasses:
PySparkEtlJob, PySparkFlexEtlJob, PySparkStreamingJob, ScalaSparkEtlJob, ScalaSparkFlexEtlJob, ScalaSparkStreamingJob

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-04T12:43:18.274Z") @Stability(Experimental) public abstract class SparkJob extends Job
(experimental) Base class for different types of Spark Jobs.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.glue.alpha.*;
 import software.amazon.awscdk.services.iam.*;
 Role role;
 IJob sparkJob = SparkJob.fromJobAttributes(this, "MySparkJob", JobAttributes.builder()
         .jobName("jobName")
         // the properties below are optional
         .role(role)
         .build());
 
  • Constructor Details

    • SparkJob

      protected SparkJob(software.amazon.jsii.JsiiObjectRef objRef)
    • SparkJob

      protected SparkJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • SparkJob

      @Stability(Experimental) protected SparkJob(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull SparkJobProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details