@Stability(value=Stable)
public static interface CfnJob.JobCommandProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
JobCommandProperty jobCommandProperty = JobCommandProperty.builder()
.name("name")
.pythonVersion("pythonVersion")
.scriptLocation("scriptLocation")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnJob.JobCommandProperty.Builder
A builder for
CfnJob.JobCommandProperty |
static class |
CfnJob.JobCommandProperty.Jsii$Proxy
An implementation for
CfnJob.JobCommandProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnJob.JobCommandProperty.Builder |
builder() |
default String |
getName()
The name of the job command.
|
default String |
getPythonVersion()
The Python version being used to execute a Python shell job.
|
default String |
getScriptLocation()
Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job (required).
|
@Stability(value=Stable) @Nullable default String getName()
For an Apache Spark ETL job, this must be glueetl . For a Python shell job, it must be pythonshell .
@Stability(value=Stable) @Nullable default String getPythonVersion()
Allowed values are 2 or 3.
@Stability(value=Stable) @Nullable default String getScriptLocation()
@Stability(value=Stable) static CfnJob.JobCommandProperty.Builder builder()
CfnJob.JobCommandProperty.Builder of CfnJob.JobCommandPropertyCopyright © 2022. All rights reserved.