AWS::Glue::Job JobCommand
Specifies code executed when a job is run.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Name" :String, "PythonVersion" :String, "ScriptLocation" :String}
YAML
Name:StringPythonVersion:StringScriptLocation:String
Properties
Name-
The name of the job command. For an Apache Spark ETL job, this must be
glueetl. For a Python shell job, it must bepythonshell. For an Apache Spark streaming ETL job, this must begluestreaming.Required: No
Type: String
Update requires: No interruption
PythonVersion-
The Python version being used to execute a Python shell job. Allowed values are 3 or 3.9. Version 2 is deprecated.
Required: No
Type: String
Pattern:
^([2-3]|3[.]9)$Update requires: No interruption
ScriptLocation-
Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job (required).
Required: No
Type: String
Maximum:
400000Update requires: No interruption