Class PythonShellJobProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.alpha.PythonShellJobProps.Jsii$Proxy
All Implemented Interfaces:
JobProps, PythonShellJobProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
PythonShellJobProps

@Stability(Deprecated) @Deprecated @Internal public static final class PythonShellJobProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PythonShellJobProps
Deprecated.
An implementation for PythonShellJobProps
  • 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.amazon.awscdk.services.glue.alpha.PythonShellJobProps

    PythonShellJobProps.Builder, PythonShellJobProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Deprecated.
    Constructor that initializes the object based on literal property values passed by the PythonShellJobProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Deprecated.
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
    Deprecated.
     
    final boolean
    Deprecated.
     
    Deprecated.
    (deprecated) Connections (optional) List of connections to use for this Glue job Connections are used to connect to other AWS Service or resources within a VPC.
    Deprecated.
    (deprecated) Enables continuous logging with the specified props.
    Deprecated.
    (deprecated) Default Arguments (optional) The default arguments for every run of this Glue job, specified as name-value pairs.
    final String
    Deprecated.
    (deprecated) Description (optional) Developer-specified description of the Glue job.
    final List<Code>
    Deprecated.
    (deprecated) Additional Python files that AWS Glue adds to the Python path before executing your script.
    Deprecated.
    (deprecated) Glue Version The version of Glue to use to execute this job.
    final String
    Deprecated.
    (deprecated) Name of the Glue job (optional) Developer-specified name of the Glue job.
    final Boolean
    Deprecated.
    (deprecated) Specifies whether job run queuing is enabled for the job runs for this job.
    Deprecated.
    (deprecated) The set of pre-installed Python libraries to make available to the job.
    Deprecated.
    (deprecated) The total number of DPU to assign to the Python Job.
    final Number
    Deprecated.
    (deprecated) Max Concurrent Runs (optional) The maximum number of runs this Glue job can concurrently run.
    final Number
    Deprecated.
    (deprecated) Max Retries (optional) Maximum number of retry attempts Glue performs if the job fails.
    Deprecated.
    (deprecated) The version of Python to use to execute this job.
    final IRole
    Deprecated.
    (deprecated) IAM Role (required) IAM Role to use for Glue job execution Must be specified by the developer because the L2 doesn't have visibility into the actions the script(s) takes during the job execution The role must trust the Glue service principal (glue.amazonaws.com) and be granted sufficient permissions.
    final Code
    Deprecated.
    (deprecated) Script Code Location (required) Script to run when the Glue job executes.
    Deprecated.
    (deprecated) Security Configuration (optional) Defines the encryption options for the Glue job.
    Deprecated.
    (deprecated) Tags (optional) A list of key:value pairs of tags to apply to this Glue job resources.
    final Duration
    Deprecated.
    (deprecated) Timeout (optional) The maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.
    final int
    Deprecated.
     

    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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(PythonShellJobProps.Builder builder)
      Deprecated.
      Constructor that initializes the object based on literal property values passed by the PythonShellJobProps.Builder.
  • Method Details

    • getExtraPythonFiles

      public final List<Code> getExtraPythonFiles()
      Deprecated.
      Description copied from interface: PythonShellJobProps
      (deprecated) Additional Python files that AWS Glue adds to the Python path before executing your script.

      Only individual files are supported, directories are not supported. Equivalent to the --extra-py-files job argument.

      Default: - no extra Python files

      Specified by:
      getExtraPythonFiles in interface PythonShellJobProps
      See Also:
    • getJobRunQueuingEnabled

      public final Boolean getJobRunQueuingEnabled()
      Deprecated.
      Description copied from interface: PythonShellJobProps
      (deprecated) Specifies whether job run queuing is enabled for the job runs for this job.

      A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing. If this field does not match the value set in the job run, then the value from the job run field will be used. This property must be set to false for flex jobs. If this property is enabled, maxRetries must be set to zero.

      Default: false

      Specified by:
      getJobRunQueuingEnabled in interface PythonShellJobProps
    • getLibrarySet

      public final LibrarySet getLibrarySet()
      Deprecated.
      Description copied from interface: PythonShellJobProps
      (deprecated) The set of pre-installed Python libraries to make available to the job.

      Only applies to jobs running Python 3.9. Set to LibrarySet.NONE when your libraries are custom or conflict with the pre-installed ones.

      Default: LibrarySet.ANALYTICS when running Python 3.9, otherwise no library set is configured

      Specified by:
      getLibrarySet in interface PythonShellJobProps
      See Also:
    • getMaxCapacity

      public final MaxCapacity getMaxCapacity()
      Deprecated.
      Description copied from interface: PythonShellJobProps
      (deprecated) The total number of DPU to assign to the Python Job.

      Default: 0.0625

      Specified by:
      getMaxCapacity in interface PythonShellJobProps
    • getPythonVersion

      public final PythonVersion getPythonVersion()
      Deprecated.
      Description copied from interface: PythonShellJobProps
      (deprecated) The version of Python to use to execute this job.

      Python shell jobs only support PythonVersion.THREE_NINE. The older PythonVersion.TWO (Python 2.7) and PythonVersion.THREE (Python 3.6) runtimes have been retired by AWS Glue and are no longer available for Python shell jobs.

      Default: PythonVersion.THREE_NINE

      Specified by:
      getPythonVersion in interface PythonShellJobProps
    • getRole

      public final IRole getRole()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) IAM Role (required) IAM Role to use for Glue job execution Must be specified by the developer because the L2 doesn't have visibility into the actions the script(s) takes during the job execution The role must trust the Glue service principal (glue.amazonaws.com) and be granted sufficient permissions.

      Specified by:
      getRole in interface JobProps
      See Also:
    • getScript

      public final Code getScript()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Script Code Location (required) Script to run when the Glue job executes.

      Can be uploaded from the local directory structure using fromAsset or referenced via S3 location using fromBucket

      Specified by:
      getScript in interface JobProps
    • getConnections

      public final List<IConnection> getConnections()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Connections (optional) List of connections to use for this Glue job Connections are used to connect to other AWS Service or resources within a VPC.

      Default: [] - no connections are added to the job

      Specified by:
      getConnections in interface JobProps
    • getContinuousLogging

      public final ContinuousLoggingProps getContinuousLogging()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Enables continuous logging with the specified props.

      Default: - continuous logging is enabled.

      Specified by:
      getContinuousLogging in interface JobProps
      See Also:
    • getDefaultArguments

      public final Map<String,String> getDefaultArguments()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Default Arguments (optional) The default arguments for every run of this Glue job, specified as name-value pairs.

      This map is the escape hatch for Glue job arguments that this construct does not model. It MUST NOT be used to set arguments that already have a dedicated prop — configure those through the corresponding prop instead (continuousLogging, enableMetrics, enableObservabilityMetrics, sparkUI, className, extraJars, extraJarsFirst, extraPythonFiles, extraFiles). Passing a construct-managed argument (e.g. --enable-continuous-cloudwatch-log, --enable-metrics, --enable-spark-ui, --job-language) or a Glue-reserved argument (--debug, --mode, --JOB_NAME, --endpoint) here throws at synthesis time, so there is exactly one way to express each intent.

      Also note that these are emitted verbatim into the CloudFormation template, so avoid placing secrets here in plaintext. Pass secrets to the job at runtime through AWS Secrets Manager instead. A synthesis-time warning is emitted when an argument key looks like a credential and holds a plaintext literal.

      Default: - no arguments

      Specified by:
      getDefaultArguments in interface JobProps
      See Also:
    • getDescription

      public final String getDescription()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Description (optional) Developer-specified description of the Glue job.

      Default: - no value

      Specified by:
      getDescription in interface JobProps
    • getGlueVersion

      public final GlueVersion getGlueVersion()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Glue Version The version of Glue to use to execute this job.

      Default: - determined by the job type: 4.0 for ETL and Streaming, 5.0 for Flex, 3.0 for Python Shell

      Specified by:
      getGlueVersion in interface JobProps
    • getJobName

      public final String getJobName()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Name of the Glue job (optional) Developer-specified name of the Glue job.

      Default: - a name is automatically generated

      Specified by:
      getJobName in interface JobProps
    • getMaxConcurrentRuns

      public final Number getMaxConcurrentRuns()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Max Concurrent Runs (optional) The maximum number of runs this Glue job can concurrently run.

      An error is returned when this threshold is reached. The maximum value you can specify is controlled by a service limit.

      Default: 1

      Specified by:
      getMaxConcurrentRuns in interface JobProps
    • getMaxRetries

      public final Number getMaxRetries()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Max Retries (optional) Maximum number of retry attempts Glue performs if the job fails.

      Default: 0

      Specified by:
      getMaxRetries in interface JobProps
    • getSecurityConfiguration

      public final ISecurityConfiguration getSecurityConfiguration()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Security Configuration (optional) Defines the encryption options for the Glue job.

      Default: - no security configuration.

      Specified by:
      getSecurityConfiguration in interface JobProps
    • getTags

      public final Map<String,String> getTags()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Tags (optional) A list of key:value pairs of tags to apply to this Glue job resources.

      Default: {} - no tags

      Specified by:
      getTags in interface JobProps
    • getTimeout

      public final Duration getTimeout()
      Deprecated.
      Description copied from interface: JobProps
      (deprecated) Timeout (optional) The maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.

      Specified in minutes.

      Default: 2880 (2 days for non-streaming)

      Specified by:
      getTimeout in interface JobProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Deprecated.
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object