Class IJob.Jsii$Proxy
- All Implemented Interfaces:
IResource
,IResource.Jsii$Default
,IJob
,IJob.Jsii$Default
,IGrantable
,IGrantable.Jsii$Default
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
,software.constructs.IDependable
,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IJob
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.glue.alpha.IJob
IJob.Jsii$Default, IJob.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.final ResourceEnvironment
getEnv()
The environment this resource belongs to.final IPrincipal
The principal to grant permissions to.final String
(experimental) The ARN of the job.final String
(experimental) The name of the job.final software.constructs.Node
getNode()
The tree node.final Stack
getStack()
The stack in which this resource is defined.final Metric
metric
(String metricName, MetricType type) (experimental) Create a CloudWatch metric.final Metric
metric
(String metricName, MetricType type, MetricOptions props) (experimental) Create a CloudWatch metric.final Metric
(experimental) Create a CloudWatch Metric indicating job failure.final Metric
metricFailure
(MetricOptions props) (experimental) Create a CloudWatch Metric indicating job failure.final Metric
(experimental) Create a CloudWatch Metric indicating job success.final Metric
metricSuccess
(MetricOptions props) (experimental) Create a CloudWatch Metric indicating job success.final Metric
(experimental) Create a CloudWatch Metric indicating job timeout.final Metric
metricTimeout
(MetricOptions props) (experimental) Create a CloudWatch Metric indicating job timeout.final Rule
(experimental) Defines a CloudWatch event rule triggered when something happens with this job.final Rule
onEvent
(String id, OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when something happens with this job.final Rule
(experimental) Defines a CloudWatch event rule triggered when this job moves to the FAILED state.final Rule
onFailure
(String id, OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the FAILED state.final Rule
onStateChange
(String id, JobState jobState) (experimental) Defines a CloudWatch event rule triggered when this job moves to the input jobState.final Rule
onStateChange
(String id, JobState jobState, OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the input jobState.final Rule
(experimental) Defines a CloudWatch event rule triggered when this job moves to the SUCCEEDED state.final Rule
onSuccess
(String id, OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the SUCCEEDED state.final Rule
(experimental) Defines a CloudWatch event rule triggered when this job moves to the TIMEOUT state.final Rule
onTimeout
(String id, OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the TIMEOUT state.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
@Stability(Stable) @NotNull public final software.constructs.Node getNode()The tree node.- Specified by:
getNode
in interfacesoftware.constructs.IConstruct
- Specified by:
getNode
in interfacesoftware.constructs.IConstruct.Jsii$Default
- Specified by:
getNode
in interfaceIJob.Jsii$Default
- Specified by:
getNode
in interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Specified by:
getEnv
in interfaceIJob.Jsii$Default
- Specified by:
getEnv
in interfaceIResource
- Specified by:
getEnv
in interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIJob.Jsii$Default
- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getGrantPrincipal
The principal to grant permissions to.- Specified by:
getGrantPrincipal
in interfaceIGrantable
- Specified by:
getGrantPrincipal
in interfaceIGrantable.Jsii$Default
- Specified by:
getGrantPrincipal
in interfaceIJob.Jsii$Default
-
getJobArn
(experimental) The ARN of the job.- Specified by:
getJobArn
in interfaceIJob
- Specified by:
getJobArn
in interfaceIJob.Jsii$Default
-
getJobName
(experimental) The name of the job.- Specified by:
getJobName
in interfaceIJob
- Specified by:
getJobName
in interfaceIJob.Jsii$Default
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY
), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN
).- Specified by:
applyRemovalPolicy
in interfaceIJob.Jsii$Default
- Specified by:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in interfaceIResource.Jsii$Default
- Parameters:
policy
- This parameter is required.
-
metric
@Stability(Experimental) @NotNull public final Metric metric(@NotNull String metricName, @NotNull MetricType type, @Nullable MetricOptions props) (experimental) Create a CloudWatch metric.- Specified by:
metric
in interfaceIJob
- Specified by:
metric
in interfaceIJob.Jsii$Default
- 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 public final Metric metric(@NotNull String metricName, @NotNull MetricType type) (experimental) Create a CloudWatch metric. -
metricFailure
(experimental) Create a CloudWatch Metric indicating job failure.- Specified by:
metricFailure
in interfaceIJob
- Specified by:
metricFailure
in interfaceIJob.Jsii$Default
- Parameters:
props
-
-
metricFailure
(experimental) Create a CloudWatch Metric indicating job failure.- Specified by:
metricFailure
in interfaceIJob
-
metricSuccess
(experimental) Create a CloudWatch Metric indicating job success.- Specified by:
metricSuccess
in interfaceIJob
- Specified by:
metricSuccess
in interfaceIJob.Jsii$Default
- Parameters:
props
-
-
metricSuccess
(experimental) Create a CloudWatch Metric indicating job success.- Specified by:
metricSuccess
in interfaceIJob
-
metricTimeout
(experimental) Create a CloudWatch Metric indicating job timeout.- Specified by:
metricTimeout
in interfaceIJob
- Specified by:
metricTimeout
in interfaceIJob.Jsii$Default
- Parameters:
props
-
-
metricTimeout
(experimental) Create a CloudWatch Metric indicating job timeout.- Specified by:
metricTimeout
in interfaceIJob
-
onEvent
@Stability(Experimental) @NotNull public final Rule onEvent(@NotNull String id, @Nullable OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when something happens with this job.- Specified by:
onEvent
in interfaceIJob
- Specified by:
onEvent
in interfaceIJob.Jsii$Default
- Parameters:
id
- This parameter is required.options
-- See Also:
-
onEvent
(experimental) Defines a CloudWatch event rule triggered when something happens with this job. -
onFailure
@Stability(Experimental) @NotNull public final Rule onFailure(@NotNull String id, @Nullable OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the FAILED state.- Specified by:
onFailure
in interfaceIJob
- Specified by:
onFailure
in interfaceIJob.Jsii$Default
- 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. -
onStateChange
@Stability(Experimental) @NotNull public final Rule onStateChange(@NotNull String id, @NotNull JobState jobState, @Nullable OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the input jobState.- Specified by:
onStateChange
in interfaceIJob
- Specified by:
onStateChange
in interfaceIJob.Jsii$Default
- Parameters:
id
- This parameter is required.jobState
- This parameter is required.options
-- See Also:
-
onStateChange
@Stability(Experimental) @NotNull public final Rule onStateChange(@NotNull String id, @NotNull JobState jobState) (experimental) Defines a CloudWatch event rule triggered when this job moves to the input jobState.- Specified by:
onStateChange
in interfaceIJob
- Parameters:
id
- This parameter is required.jobState
- This parameter is required.- See Also:
-
onSuccess
@Stability(Experimental) @NotNull public final Rule onSuccess(@NotNull String id, @Nullable OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the SUCCEEDED state.- Specified by:
onSuccess
in interfaceIJob
- Specified by:
onSuccess
in interfaceIJob.Jsii$Default
- 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. -
onTimeout
@Stability(Experimental) @NotNull public final Rule onTimeout(@NotNull String id, @Nullable OnEventOptions options) (experimental) Defines a CloudWatch event rule triggered when this job moves to the TIMEOUT state.- Specified by:
onTimeout
in interfaceIJob
- Specified by:
onTimeout
in interfaceIJob.Jsii$Default
- 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.
-