Interface IJob
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IGrantable,IJobRef,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.139.0 (build 26a6b54)",
date="2026-09-17T14:54:30.067Z")
@Stability(Deprecated)
@Deprecated
public interface IJob
extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable, IJobRef
Deprecated.
(deprecated) Interface representing a new or an imported Glue Job.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.Internal default implementation forIJob.static final classDeprecated.A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.metric(String metricName, MetricType type) Deprecated.metric(String metricName, MetricType type, MetricOptions props) Deprecated.Deprecated.metricFailure(MetricOptions props) Deprecated.Deprecated.metricSuccess(MetricOptions props) Deprecated.Deprecated.metricTimeout(MetricOptions props) Deprecated.Deprecated.onEvent(String id, OnEventOptions options) Deprecated.Deprecated.onFailure(String id, OnEventOptions options) Deprecated.Deprecated.onSuccess(String id, OnEventOptions options) Deprecated.Deprecated.onTimeout(String id, OnEventOptions options) Deprecated.Methods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJobArn
Deprecated.(deprecated) The ARN of the job. -
getJobName
Deprecated.(deprecated) The name of the job. -
metric
@Stability(Deprecated) @Deprecated @NotNull Metric metric(@NotNull String metricName, @NotNull MetricType type, @Nullable MetricOptions props) Deprecated.(deprecated) 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(Deprecated) @Deprecated @NotNull Metric metric(@NotNull String metricName, @NotNull MetricType type) Deprecated.(deprecated) 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
Deprecated.(deprecated) Create a CloudWatch Metric indicating job failure.- Parameters:
props-
-
metricFailure
Deprecated.(deprecated) Create a CloudWatch Metric indicating job failure. -
metricSuccess
Deprecated.(deprecated) Create a CloudWatch Metric indicating job success.- Parameters:
props-
-
metricSuccess
Deprecated.(deprecated) Create a CloudWatch Metric indicating job success. -
metricTimeout
Deprecated.(deprecated) Create a CloudWatch Metric indicating job timeout.- Parameters:
props-
-
metricTimeout
Deprecated.(deprecated) Create a CloudWatch Metric indicating job timeout. -
onEvent
@Stability(Deprecated) @Deprecated @NotNull Rule onEvent(@NotNull String id, @Nullable OnEventOptions options) Deprecated.(deprecated) Defines a CloudWatch event rule triggered when something happens with this job.- Parameters:
id- This parameter is required.options-- See Also:
-
onEvent
Deprecated.(deprecated) Defines a CloudWatch event rule triggered when something happens with this job.- Parameters:
id- This parameter is required.- See Also:
-
onFailure
@Stability(Deprecated) @Deprecated @NotNull Rule onFailure(@NotNull String id, @Nullable OnEventOptions options) Deprecated.(deprecated) Defines a CloudWatch event rule triggered when this job moves to the FAILED state.- Parameters:
id- This parameter is required.options-- See Also:
-
onFailure
Deprecated.(deprecated) Defines a CloudWatch event rule triggered when this job moves to the FAILED state.- Parameters:
id- This parameter is required.- See Also:
-
onSuccess
@Stability(Deprecated) @Deprecated @NotNull Rule onSuccess(@NotNull String id, @Nullable OnEventOptions options) Deprecated.(deprecated) Defines a CloudWatch event rule triggered when this job moves to the SUCCEEDED state.- Parameters:
id- This parameter is required.options-- See Also:
-
onSuccess
Deprecated.(deprecated) Defines a CloudWatch event rule triggered when this job moves to the SUCCEEDED state.- Parameters:
id- This parameter is required.- See Also:
-
onTimeout
@Stability(Deprecated) @Deprecated @NotNull Rule onTimeout(@NotNull String id, @Nullable OnEventOptions options) Deprecated.(deprecated) Defines a CloudWatch event rule triggered when this job moves to the TIMEOUT state.- Parameters:
id- This parameter is required.options-- See Also:
-
onTimeout
Deprecated.(deprecated) Defines a CloudWatch event rule triggered when this job moves to the TIMEOUT state.- Parameters:
id- This parameter is required.- See Also:
-