Method: Aws::Glue::Types::CreateJobRequest#timeout

Defined in:
lib/aws-sdk-glue/types.rb

#timeoutInteger

The job timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters ‘TIMEOUT` status.

Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception.

When the value is left blank, the timeout is defaulted to 2880 minutes.

Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day.

For streaming jobs, if you have set up a maintenance window, it will be restarted during the maintenance window after 7 days.

Returns:

  • (Integer)


6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
# File 'lib/aws-sdk-glue/types.rb', line 6416

class CreateJobRequest < Struct.new(
  :name,
  :job_mode,
  :job_run_queuing_enabled,
  :description,
  :log_uri,
  :role,
  :execution_property,
  :command,
  :default_arguments,
  :non_overridable_arguments,
  :connections,
  :max_retries,
  :allocated_capacity,
  :timeout,
  :max_capacity,
  :security_configuration,
  :tags,
  :notification_property,
  :glue_version,
  :number_of_workers,
  :worker_type,
  :code_gen_configuration_nodes,
  :execution_class,
  :source_control_details,
  :maintenance_window)
  SENSITIVE = [:code_gen_configuration_nodes]
  include Aws::Structure
end