AWS Glue
Web API Reference (API Version 2017-03-31)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

JobCommand

Specifies code executed when a job is run.

Contents

Name

The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell.

Type: String

Required: No

PythonVersion

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

Type: String

Pattern: ^[2-3]$

Required: No

ScriptLocation

Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: