Class PythonShellJob
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.glue.alpha.JobBase
software.amazon.awscdk.services.glue.alpha.Job
software.amazon.awscdk.services.glue.alpha.PythonShellJob
- All Implemented Interfaces:
IJobRef,IEnvironmentAware,IResource,IJob,IGrantable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-17T14:54:30.112Z")
@Stability(Deprecated)
@Deprecated
public class PythonShellJob
extends Job
Deprecated.
(deprecated) Python Shell Jobs class.
A Python shell job runs Python scripts as a shell and supports a Python version that depends on the AWS Glue version you are using. This can be used to schedule and run tasks that don't require an Apache Spark environment.
Example:
import software.amazon.awscdk.*; import software.amazon.awscdk.services.iam.*; Stack stack; IRole role; Code script; PythonShellJob.Builder.create(stack, "ImportedJob").role(role).script(script).build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.glue.alpha.IJob
IJob.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPythonShellJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedPythonShellJob(software.amazon.jsii.JsiiObjectRef objRef) Deprecated.PythonShellJob(software.constructs.Construct scope, String id, PythonShellJobProps props) Deprecated. -
Method Summary
Methods inherited from class software.amazon.awscdk.services.glue.alpha.Job
codeS3ObjectUrl, fromJobAttributes, mergeDefaultArguments, mergeDefaultArguments, setManagedArgument, setManagedArgument, setupContinuousLogging, setupContinuousLogging, setupContinuousLoggingMethods inherited from class software.amazon.awscdk.services.glue.alpha.JobBase
buildJobArn, getJobRef, metric, metric, metricFailure, metricFailure, metricSuccess, metricSuccess, metricTimeout, metricTimeout, onEvent, onEvent, onFailure, onFailure, onStateChange, onStateChange, onSuccess, onSuccess, onTimeout, onTimeoutMethods inherited from class software.amazon.awscdk.Resource
applyCrossStackReferenceStrength, applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource, withMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Deprecated.(deprecated) Uniquely identifies this class.
-
-
Constructor Details
-
PythonShellJob
protected PythonShellJob(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
PythonShellJob
protected PythonShellJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
PythonShellJob
@Stability(Deprecated) @Deprecated public PythonShellJob(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull PythonShellJobProps props) Deprecated.(deprecated) PythonShellJob constructor.- Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
getGrantPrincipal
Deprecated.(deprecated) The principal to grant permissions to.- Specified by:
getGrantPrincipalin interfaceIGrantable- Specified by:
getGrantPrincipalin classJobBase
-
getJobArn
Deprecated.(deprecated) The ARN of the job. -
getJobName
Deprecated.(deprecated) The name of the job.- Specified by:
getJobNamein interfaceIJob- Specified by:
getJobNamein classJobBase
-
getRole
Deprecated.(deprecated) The IAM role Glue assumes to run this job.
-