@aws-cdk_aws-glue-alpha.JobExecutableConfig

interface JobExecutableConfig ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Glue.Alpha.JobExecutableConfig
Gogithub.com/aws/aws-cdk-go/awscdkgluealpha/v2#JobExecutableConfig
Javasoftware.amazon.awscdk.services.glue.alpha.JobExecutableConfig
Pythonaws_cdk.aws_glue_alpha.JobExecutableConfig
TypeScript (source)@aws-cdk/aws-glue-alpha ยป JobExecutableConfig

Obtainable from JobExecutable.bind()

Result of binding a JobExecutable into a Job.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as glue_alpha from '@aws-cdk/aws-glue-alpha';

declare const code: glue_alpha.Code;
declare const glueVersion: glue_alpha.GlueVersion;
declare const jobType: glue_alpha.JobType;
declare const runtime: glue_alpha.Runtime;
const jobExecutableConfig: glue_alpha.JobExecutableConfig = {
  glueVersion: glueVersion,
  language: glue_alpha.JobLanguage.SCALA,
  script: code,
  type: jobType,

  // the properties below are optional
  className: 'className',
  extraFiles: [code],
  extraJars: [code],
  extraJarsFirst: false,
  extraPythonFiles: [code],
  pythonVersion: glue_alpha.PythonVersion.TWO,
  runtime: runtime,
};

Properties

NameTypeDescription
glueVersion๐Ÿ”นGlueVersionGlue version.
language๐Ÿ”นJobLanguageThe language of the job (Scala or Python).
script๐Ÿ”นCodeThe script that is executed by a job.
type๐Ÿ”นJobTypeSpecify the type of the job whether it's an Apache Spark ETL or streaming one or if it's a Python shell job.
className?๐Ÿ”นstringThe Scala class that serves as the entry point for the job.
extraFiles?๐Ÿ”นCode[]Additional files, such as configuration files that AWS Glue copies to the working directory of your script before executing it.
extraJars?๐Ÿ”นCode[]Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script.
extraJarsFirst?๐Ÿ”นbooleanSetting this value to true prioritizes the customer's extra JAR files in the classpath.
extraPythonFiles?๐Ÿ”นCode[]Additional Python files that AWS Glue adds to the Python path before executing your script.
pythonVersion?๐Ÿ”นPythonVersionThe Python version to use.
runtime?๐Ÿ”นRuntimeThe Runtime to use.

glueVersion๐Ÿ”น

Type: GlueVersion

Glue version.

See also: https://docs.aws.amazon.com/glue/latest/dg/release-notes.html


language๐Ÿ”น

Type: JobLanguage

The language of the job (Scala or Python).

See also: [ --job-language in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html]( --job-language in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)


script๐Ÿ”น

Type: Code

The script that is executed by a job.


type๐Ÿ”น

Type: JobType

Specify the type of the job whether it's an Apache Spark ETL or streaming one or if it's a Python shell job.


className?๐Ÿ”น

Type: string (optional, default: no scala className specified)

The Scala class that serves as the entry point for the job.

This applies only if your the job langauage is Scala.

See also: [ --class in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html]( --class in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)


extraFiles?๐Ÿ”น

Type: Code[] (optional, default: no extra files specified.)

Additional files, such as configuration files that AWS Glue copies to the working directory of your script before executing it.

See also: [ --extra-files in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html]( --extra-files in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)


extraJars?๐Ÿ”น

Type: Code[] (optional, default: no extra jars specified.)

Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script.

See also: [ --extra-jars in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html]( --extra-jars in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)


extraJarsFirst?๐Ÿ”น

Type: boolean (optional, default: extra jars are not prioritized.)

Setting this value to true prioritizes the customer's extra JAR files in the classpath.

See also: [ --user-jars-first in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html]( --user-jars-first in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)


extraPythonFiles?๐Ÿ”น

Type: Code[] (optional, default: no extra python files specified.)

Additional Python files that AWS Glue adds to the Python path before executing your script.

See also: [ --extra-py-files in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html]( --extra-py-files in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)


pythonVersion?๐Ÿ”น

Type: PythonVersion (optional, default: no python version specified)

The Python version to use.


runtime?๐Ÿ”น

Type: Runtime (optional, default: no runtime specified)

The Runtime to use.