@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:35.180Z")
public interface JobProps
Job
.
Example:
Bucket bucket; Job.Builder.create(this, "PythonShellJob") .executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder() .glueVersion(GlueVersion.V1_0) .pythonVersion(PythonVersion.THREE) .script(Code.fromBucket(bucket, "script.py")) .build())) .description("an example Python Shell job") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
JobProps.Builder
A builder for
JobProps |
static class |
JobProps.Jsii$Proxy
An implementation for
JobProps |
Modifier and Type | Method and Description |
---|---|
static JobProps.Builder |
builder() |
default java.util.List<IConnection> |
getConnections()
(experimental) The
Connection s used for this job. |
default ContinuousLoggingProps |
getContinuousLogging()
(experimental) Enables continuous logging with the specified props.
|
default java.util.Map<java.lang.String,java.lang.String> |
getDefaultArguments()
(experimental) The default arguments for this job, specified as name-value pairs.
|
default java.lang.String |
getDescription()
(experimental) The description of the job.
|
default java.lang.Boolean |
getEnableProfilingMetrics()
(experimental) Enables the collection of metrics for job profiling.
|
JobExecutable |
getExecutable()
(experimental) The job's executable properties.
|
default java.lang.String |
getJobName()
(experimental) The name of the job.
|
default java.lang.Number |
getMaxCapacity()
(experimental) The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
|
default java.lang.Number |
getMaxConcurrentRuns()
(experimental) The maximum number of concurrent runs allowed for the job.
|
default java.lang.Number |
getMaxRetries()
(experimental) The maximum number of times to retry this job after a job run fails.
|
default Duration |
getNotifyDelayAfter()
(experimental) The number of minutes to wait after a job run starts, before sending a job run delay notification.
|
default IRole |
getRole()
(experimental) The IAM role assumed by Glue to run this job.
|
default ISecurityConfiguration |
getSecurityConfiguration()
(experimental) The
SecurityConfiguration to use for this job. |
default SparkUIProps |
getSparkUI()
(experimental) Enables the Spark UI debugging and monitoring with the specified props.
|
default java.util.Map<java.lang.String,java.lang.String> |
getTags()
(experimental) The tags to add to the resources on which the job runs.
|
default Duration |
getTimeout()
(experimental) The maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.
|
default java.lang.Number |
getWorkerCount()
(experimental) The number of workers of a defined
WorkerType that are allocated when a job runs. |
default WorkerType |
getWorkerType()
(experimental) The type of predefined worker that is allocated when a job runs.
|
JobExecutable getExecutable()
default java.util.List<IConnection> getConnections()
Connection
s used for this job.
Connections are used to connect to other AWS Service or resources within a VPC.
Default: [] - no connections are added to the job
default ContinuousLoggingProps getContinuousLogging()
Default: - continuous logging is disabled.
https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default java.util.Map<java.lang.String,java.lang.String> getDefaultArguments()
Default: - no arguments
for a list of reserved parameters
default java.lang.String getDescription()
Default: - no value
default java.lang.Boolean getEnableProfilingMetrics()
Default: - no profiling metrics emitted.
at https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default java.lang.String getJobName()
Default: - a name is automatically generated
default java.lang.Number getMaxCapacity()
Cannot be used for Glue version 2.0 and later - workerType and workerCount should be used instead.
Default: - 10 when job type is Apache Spark ETL or streaming, 0.0625 when job type is Python shell
default java.lang.Number getMaxConcurrentRuns()
An error is returned when this threshold is reached. The maximum value you can specify is controlled by a service limit.
Default: 1
default java.lang.Number getMaxRetries()
Default: 0
default Duration getNotifyDelayAfter()
Default: - no delay notifications
default IRole getRole()
If providing a custom role, it needs to trust the Glue service principal (glue.amazonaws.com) and be granted sufficient permissions.
Default: - a role is automatically generated
https://docs.aws.amazon.com/glue/latest/dg/getting-started-access.html
default ISecurityConfiguration getSecurityConfiguration()
SecurityConfiguration
to use for this job.
Default: - no security configuration.
default SparkUIProps getSparkUI()
Default: - Spark UI debugging and monitoring is disabled.
https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
default java.util.Map<java.lang.String,java.lang.String> getTags()
Default: {} - no tags
default Duration getTimeout()
Default: cdk.Duration.hours(48)
default java.lang.Number getWorkerCount()
WorkerType
that are allocated when a job runs.
Default: - differs based on specific Glue version/worker type
default WorkerType getWorkerType()
Default: - differs based on specific Glue version
static JobProps.Builder builder()
JobProps.Builder
of JobProps