AWS::Glue::Job JobCommand
Specifies code executed when a job is run.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Name" :
String
, "PythonVersion" :String
, "ScriptLocation" :String
}
YAML
Name:
String
PythonVersion:String
ScriptLocation: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
.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
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
Update requires: No interruption