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

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

Overview

Note:

When making an API call, you may pass UpdatePolicy data as a hash:

{
  terminate_jobs_on_update: false,
  job_execution_timeout_minutes: 1,
}

Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Infrastructure updates in the Batch User Guide.

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)


6536
6537
6538
6539
6540
6541
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6536

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)


6536
6537
6538
6539
6540
6541
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6536

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