Interface IJob
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.IDependable
,IGrantable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IJob.Jsii$Default
- All Known Implementing Classes:
IJob.Jsii$Proxy
,Job
,JobBase
,PySparkEtlJob
,PySparkFlexEtlJob
,PySparkStreamingJob
,PythonShellJob
,RayJob
,ScalaSparkEtlJob
,ScalaSparkFlexEtlJob
,ScalaSparkStreamingJob
,SparkJob
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:25:07.850Z")
@Stability(Experimental)
public interface IJob
extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable
(experimental) Interface representing a new or an imported Glue Job.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIJob
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescription(experimental) The ARN of the job.(experimental) The name of the job.metric
(String metricName, MetricType type) (experimental) Create a CloudWatch metric.metric
(String metricName, MetricType type, MetricOptions props) (experimental) Create a CloudWatch metric.(experimental) Create a CloudWatch Metric indicating job failure.metricFailure
(MetricOptions props) (experimental) Create a CloudWatch Metric indicating job failure.(experimental) Create a CloudWatch Metric indicating job success.metricSuccess
(MetricOptions props) (experimental) Create a CloudWatch Metric indicating job success.(experimental) Create a CloudWatch Metric indicating job timeout.metricTimeout
(MetricOptions props) (experimental) Create a CloudWatch Metric indicating job timeout.(experimental) Defines a CloudWatch event rule triggered when something happens with this job.onEvent
(String id, OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when something happens with this job.(experimental) Defines a CloudWatch event rule triggered when this job moves to the FAILED state.onFailure
(String id, OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the FAILED state.(experimental) Defines a CloudWatch event rule triggered when this job moves to the SUCCEEDED state.onSuccess
(String id, OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the SUCCEEDED state.(experimental) Defines a CloudWatch event rule triggered when this job moves to the TIMEOUT state.onTimeout
(String id, OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the TIMEOUT state.Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipal
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJobArn
(experimental) The ARN of the job. -
getJobName
(experimental) The name of the job. -
metric
@Stability(Experimental) @NotNull Metric metric(@NotNull String metricName, @NotNull MetricType type, @Nullable MetricOptions props) (experimental) Create a CloudWatch metric.- Parameters:
metricName
- name of the metric typically prefixed withglue.driver.
,glue.<executorId>.
orglue.ALL.
. This parameter is required.type
- the metric type. This parameter is required.props
- metric options.- See Also:
-
metric
@Stability(Experimental) @NotNull Metric metric(@NotNull String metricName, @NotNull MetricType type) (experimental) Create a CloudWatch metric.- Parameters:
metricName
- name of the metric typically prefixed withglue.driver.
,glue.<executorId>.
orglue.ALL.
. This parameter is required.type
- the metric type. This parameter is required.- See Also:
-
metricFailure
(experimental) Create a CloudWatch Metric indicating job failure.- Parameters:
props
-
-
metricFailure
(experimental) Create a CloudWatch Metric indicating job failure. -
metricSuccess
(experimental) Create a CloudWatch Metric indicating job success.- Parameters:
props
-
-
metricSuccess
(experimental) Create a CloudWatch Metric indicating job success. -
metricTimeout
(experimental) Create a CloudWatch Metric indicating job timeout.- Parameters:
props
-
-
metricTimeout
(experimental) Create a CloudWatch Metric indicating job timeout. -
onEvent
@Stability(Experimental) @NotNull Rule onEvent(@NotNull String id, @Nullable OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when something happens with this job.- Parameters:
id
- This parameter is required.options
-- See Also:
-
onEvent
(experimental) Defines a CloudWatch event rule triggered when something happens with this job.- Parameters:
id
- This parameter is required.- See Also:
-
onFailure
@Stability(Experimental) @NotNull Rule onFailure(@NotNull String id, @Nullable OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the FAILED state.- Parameters:
id
- This parameter is required.options
-- See Also:
-
onFailure
(experimental) Defines a CloudWatch event rule triggered when this job moves to the FAILED state.- Parameters:
id
- This parameter is required.- See Also:
-
onSuccess
@Stability(Experimental) @NotNull Rule onSuccess(@NotNull String id, @Nullable OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the SUCCEEDED state.- Parameters:
id
- This parameter is required.options
-- See Also:
-
onSuccess
(experimental) Defines a CloudWatch event rule triggered when this job moves to the SUCCEEDED state.- Parameters:
id
- This parameter is required.- See Also:
-
onTimeout
@Stability(Experimental) @NotNull Rule onTimeout(@NotNull String id, @Nullable OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the TIMEOUT state.- Parameters:
id
- This parameter is required.options
-- See Also:
-
onTimeout
(experimental) Defines a CloudWatch event rule triggered when this job moves to the TIMEOUT state.- Parameters:
id
- This parameter is required.- See Also:
-