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
, "Runtime" :String
, "ScriptLocation" :String
}
YAML
Name:
String
PythonVersion:String
Runtime: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
. For an Apache Spark streaming ETL job, this must begluestreaming
. For a Ray job, this must beglueray
.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
Runtime
-
In Ray jobs, Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment. This field is not used in other job types. For supported runtime environment values, see Working with Ray jobs in the AWS Glue Developer Guide.
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
Maximum:
400000
Update requires: No interruption