Method: Aws::Batch::Types::JobQueueDetail#priority

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

#priorityInteger

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the ‘priority` parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of `10` is given scheduling preference over a job queue with a priority value of `1`. All of the compute environments must be either Amazon EC2 (`EC2` or `SPOT`) or Fargate (`FARGATE` or `FARGATE_SPOT`). Amazon EC2 and Fargate compute environments can’t be mixed.

Returns:

  • (Integer)


5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
# File 'lib/aws-sdk-batch/types.rb', line 5327

class JobQueueDetail < Struct.new(
  :job_queue_name,
  :job_queue_arn,
  :state,
  :scheduling_policy_arn,
  :status,
  :status_reason,
  :priority,
  :compute_environment_order,
  :tags,
  :job_state_time_limit_actions)
  SENSITIVE = []
  include Aws::Structure
end