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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/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",
}

Specifies code that executes a job.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the job command: this must be glueetl.

Returns:

  • (String)


4255
4256
4257
4258
4259
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4255

class JobCommand < Struct.new(
  :name,
  :script_location)
  include Aws::Structure
end

#script_locationString

Specifies the S3 path to a script that executes a job (required).

Returns:

  • (String)


4255
4256
4257
4258
4259
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4255

class JobCommand < Struct.new(
  :name,
  :script_location)
  include Aws::Structure
end