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

Class: Aws::Glue::Types::Job

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Specifies a job definition.

Instance Attribute Summary collapse

Instance Attribute Details

#allocated_capacityInteger

The number of AWS Glue data processing units (DPUs) allocated to runs of this job. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page.

Returns:

  • (Integer)


4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#commandTypes::JobCommand

The JobCommand that executes this job.

Returns:



4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#connectionsTypes::ConnectionsList

The connections used for this job.



4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#created_onTime

The time and date that this job definition was created.

Returns:

  • (Time)


4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#default_argumentsHash<String,String>

The default arguments for this job, specified as name-value pairs.

You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.

For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.

For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.

Returns:

  • (Hash<String,String>)


4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#descriptionString

Description of the job being defined.

Returns:

  • (String)


4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#execution_propertyTypes::ExecutionProperty

An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.



4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#last_modified_onTime

The last point in time when this job definition was modified.

Returns:

  • (Time)


4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#log_uriString

This field is reserved for future use.

Returns:

  • (String)


4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#max_retriesInteger

The maximum number of times to retry this job after a JobRun fails.

Returns:

  • (Integer)


4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#nameString

The name you assign to this job definition.

Returns:

  • (String)


4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#notification_propertyTypes::NotificationProperty

Specifies configuration properties of a job notification.



4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#roleString

The name or ARN of the IAM role associated with this job.

Returns:

  • (String)


4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end

#timeoutInteger

The job timeout in minutes.

Returns:

  • (Integer)


4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4330

class Job < Struct.new(
  :name,
  :description,
  :log_uri,
  :role,
  :created_on,
  :last_modified_on,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :notification_property)
  include Aws::Structure
end