You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::JobCommand

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing JobCommand as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "GenericString",
  script_location: "ScriptLocationString",
  python_version: "PythonVersionString",
}

Specifies code executed when a job is run.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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.

Returns:

  • (String)

    The name of the job command.

#python_versionString

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

Returns:

  • (String)

    The Python version being used to execute a Python shell job.

#script_locationString

Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.

Returns:

  • (String)

    Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.