Class JobExecutable
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.alpha.JobExecutable
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.580Z")
@Stability(Experimental)
public class JobExecutable
extends software.amazon.jsii.JsiiObject
(experimental) The executable properties related to the Glue job's GlueVersion, JobType and code.
Example:
Job.Builder.create(this, "EnableRunQueuing") .jobName("EtlJobWithRunQueuing") .executable(JobExecutable.pythonEtl(PythonSparkJobExecutableProps.builder() .glueVersion(GlueVersion.V4_0) .pythonVersion(PythonVersion.THREE) .script(Code.fromAsset(join(__dirname, "job-script", "hello_world.py"))) .build())) .jobRunQueuingEnabled(true) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
JobExecutable
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
JobExecutable
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind()
(experimental) Called during Job initialization to get JobExecutableConfig.static JobExecutable
of
(JobExecutableConfig config) (experimental) Create a custom JobExecutable.static JobExecutable
(experimental) Create Python executable props for Apache Spark ETL job.static JobExecutable
(experimental) Create Python executable props for Ray jobs.static JobExecutable
(experimental) Create Python executable props for python shell jobs.static JobExecutable
(experimental) Create Python executable props for Apache Spark Streaming job.static JobExecutable
scalaEtl
(ScalaJobExecutableProps props) (experimental) Create Scala executable props for Apache Spark ETL job.static JobExecutable
(experimental) Create Scala executable props for Apache Spark Streaming job.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
JobExecutable
protected JobExecutable(software.amazon.jsii.JsiiObjectRef objRef) -
JobExecutable
protected JobExecutable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
of
@Stability(Experimental) @NotNull public static JobExecutable of(@NotNull JobExecutableConfig config) (experimental) Create a custom JobExecutable.- Parameters:
config
- custom job executable configuration. This parameter is required.
-
pythonEtl
@Stability(Experimental) @NotNull public static JobExecutable pythonEtl(@NotNull PythonSparkJobExecutableProps props) (experimental) Create Python executable props for Apache Spark ETL job.- Parameters:
props
- Python Apache Spark Job props. This parameter is required.
-
pythonRay
@Stability(Experimental) @NotNull public static JobExecutable pythonRay(@NotNull PythonRayExecutableProps props) (experimental) Create Python executable props for Ray jobs.- Parameters:
props
- Ray Job props. This parameter is required.
-
pythonShell
@Stability(Experimental) @NotNull public static JobExecutable pythonShell(@NotNull PythonShellExecutableProps props) (experimental) Create Python executable props for python shell jobs.- Parameters:
props
- Python Shell Job props. This parameter is required.
-
pythonStreaming
@Stability(Experimental) @NotNull public static JobExecutable pythonStreaming(@NotNull PythonSparkJobExecutableProps props) (experimental) Create Python executable props for Apache Spark Streaming job.- Parameters:
props
- Python Apache Spark Job props. This parameter is required.
-
scalaEtl
@Stability(Experimental) @NotNull public static JobExecutable scalaEtl(@NotNull ScalaJobExecutableProps props) (experimental) Create Scala executable props for Apache Spark ETL job.- Parameters:
props
- Scala Apache Spark Job props. This parameter is required.
-
scalaStreaming
@Stability(Experimental) @NotNull public static JobExecutable scalaStreaming(@NotNull ScalaJobExecutableProps props) (experimental) Create Scala executable props for Apache Spark Streaming job.- Parameters:
props
- Scala Apache Spark Job props. This parameter is required.
-
bind
(experimental) Called during Job initialization to get JobExecutableConfig.
-