Class: Aws::Batch::Types::UpdatePolicy

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-batch/types.rb

Overview

Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see

Updating compute environments][1

in the *Batch User Guide*.

[1]: docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#job_execution_timeout_minutesInteger

Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30.

Returns:

  • (Integer)


8116
8117
8118
8119
8120
8121
# File 'lib/aws-sdk-batch/types.rb', line 8116

class UpdatePolicy < Struct.new(
  :terminate_jobs_on_update,
  :job_execution_timeout_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#terminate_jobs_on_updateBoolean

Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is ‘false`.

Returns:

  • (Boolean)


8116
8117
8118
8119
8120
8121
# File 'lib/aws-sdk-batch/types.rb', line 8116

class UpdatePolicy < Struct.new(
  :terminate_jobs_on_update,
  :job_execution_timeout_minutes)
  SENSITIVE = []
  include Aws::Structure
end