@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:49.648Z") @Stability(value=Experimental) public interface IJob extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable
Job.| Modifier and Type | Interface and Description |
|---|---|
static interface |
IJob.Jsii$Default
Internal default implementation for
IJob. |
static class |
IJob.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJobArn()
(experimental) The ARN of the job.
|
String |
getJobName()
(experimental) The name of the job.
|
Metric |
metric(String metricName,
MetricType type)
(experimental) Create a CloudWatch metric.
|
Metric |
metric(String metricName,
MetricType type,
MetricOptions props)
(experimental) Create a CloudWatch metric.
|
Metric |
metricFailure()
(experimental) Create a CloudWatch Metric indicating job failure.
|
Metric |
metricFailure(MetricOptions props)
(experimental) Create a CloudWatch Metric indicating job failure.
|
Metric |
metricSuccess()
(experimental) Create a CloudWatch Metric indicating job success.
|
Metric |
metricSuccess(MetricOptions props)
(experimental) Create a CloudWatch Metric indicating job success.
|
Metric |
metricTimeout()
(experimental) Create a CloudWatch Metric indicating job timeout.
|
Metric |
metricTimeout(MetricOptions props)
(experimental) Create a CloudWatch Metric indicating job timeout.
|
Rule |
onEvent(String id)
(experimental) Defines a CloudWatch event rule triggered when something happens with this job.
|
Rule |
onEvent(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule triggered when something happens with this job.
|
Rule |
onFailure(String id)
(experimental) Defines a CloudWatch event rule triggered when this job moves to the FAILED state.
|
Rule |
onFailure(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule triggered when this job moves to the FAILED state.
|
Rule |
onStateChange(String id,
JobState jobState)
(experimental) Defines a CloudWatch event rule triggered when this job moves to the input jobState.
|
Rule |
onStateChange(String id,
JobState jobState,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule triggered when this job moves to the input jobState.
|
Rule |
onSuccess(String id)
(experimental) Defines a CloudWatch event rule triggered when this job moves to the SUCCEEDED state.
|
Rule |
onSuccess(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule triggered when this job moves to the SUCCEEDED state.
|
Rule |
onTimeout(String id)
(experimental) Defines a CloudWatch event rule triggered when this job moves to the TIMEOUT state.
|
Rule |
onTimeout(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule triggered when this job moves to the TIMEOUT state.
|
applyRemovalPolicy, getEnv, getStackgetNodegetGrantPrincipal@Stability(value=Experimental) @NotNull String getJobArn()
@Stability(value=Experimental) @NotNull String getJobName()
@Stability(value=Experimental) @NotNull Metric metric(@NotNull String metricName, @NotNull MetricType type, @Nullable MetricOptions props)
metricName - name of the metric typically prefixed with `glue.driver.`, `glue.type - the metric type. This parameter is required.props - metric options.@Stability(value=Experimental) @NotNull Metric metric(@NotNull String metricName, @NotNull MetricType type)
metricName - name of the metric typically prefixed with `glue.driver.`, `glue.type - the metric type. This parameter is required.@Stability(value=Experimental) @NotNull Metric metricFailure(@Nullable MetricOptions props)
props - @Stability(value=Experimental) @NotNull Metric metricFailure()
@Stability(value=Experimental) @NotNull Metric metricSuccess(@Nullable MetricOptions props)
props - @Stability(value=Experimental) @NotNull Metric metricSuccess()
@Stability(value=Experimental) @NotNull Metric metricTimeout(@Nullable MetricOptions props)
props - @Stability(value=Experimental) @NotNull Metric metricTimeout()
@Stability(value=Experimental) @NotNull Rule onEvent(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onEvent(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull Rule onFailure(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onFailure(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull Rule onStateChange(@NotNull String id, @NotNull JobState jobState, @Nullable OnEventOptions options)
id - This parameter is required.jobState - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onStateChange(@NotNull String id, @NotNull JobState jobState)
id - This parameter is required.jobState - This parameter is required.@Stability(value=Experimental) @NotNull Rule onSuccess(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onSuccess(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull Rule onTimeout(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onTimeout(@NotNull String id)
id - This parameter is required.Copyright © 2022. All rights reserved.