class Aws::Glue::Types::JobCommand
Specifies code that runs when a job is run.
@note When making an API call, you may pass JobCommand
data as a hash: { name: "GenericString", script_location: "ScriptLocationString", python_version: "PythonVersionString", }
@!attribute [rw] 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`. For an Apache Spark streaming ETL job, this must be `gluestreaming`. @return [String]
@!attribute [rw] script_location
Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that runs a job. @return [String]
@!attribute [rw] python_version
The Python version being used to run a Python shell job. Allowed values are 2 or 3. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobCommand AWS API Documentation
Constants
- SENSITIVE