Class: Aws::Glue::Types::JobCommand
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glue::Types::JobCommand
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-glue/types.rb
Overview
Note:
When making an API call, you may pass JobCommand data as a hash:
{
name: "GenericString",
script_location: "ScriptLocationString",
python_version: "PythonVersionString",
}
Specifies code executed when a job is run.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the job command.
-
#python_version ⇒ String
The Python version being used to execute a Python shell job.
-
#script_location ⇒ String
Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.
Instance Attribute Details
#name ⇒ String
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`.
10146 10147 10148 10149 10150 10151 10152 |
# File 'lib/aws-sdk-glue/types.rb', line 10146 class JobCommand < Struct.new( :name, :script_location, :python_version) SENSITIVE = [] include Aws::Structure end |
#python_version ⇒ String
The Python version being used to execute a Python shell job. Allowed values are 2 or 3.
10146 10147 10148 10149 10150 10151 10152 |
# File 'lib/aws-sdk-glue/types.rb', line 10146 class JobCommand < Struct.new( :name, :script_location, :python_version) SENSITIVE = [] include Aws::Structure end |
#script_location ⇒ String
Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.
10146 10147 10148 10149 10150 10151 10152 |
# File 'lib/aws-sdk-glue/types.rb', line 10146 class JobCommand < Struct.new( :name, :script_location, :python_version) SENSITIVE = [] include Aws::Structure end |