class Awspec::Type::BatchJobQueue

Constants

STATES

Public Class Methods

new(jobqueue) click to toggle source
Calls superclass method
# File lib/awspec/type/batch_job_queue.rb, line 5
def initialize(jobqueue)
  super
  @display_name = jobqueue
end

Public Instance Methods

has_compute_environment_order?(arn, order) click to toggle source
# File lib/awspec/type/batch_job_queue.rb, line 26
def has_compute_environment_order?(arn, order)
  resource_via_client.compute_environment_order.each do |res|
    return true if res.compute_environment == arn && res.order == order
  end
  false
end
id() click to toggle source
# File lib/awspec/type/batch_job_queue.rb, line 14
def id
  @id ||= resource_via_client.job_queue_name if resource_via_client
end
resource_via_client() click to toggle source
# File lib/awspec/type/batch_job_queue.rb, line 10
def resource_via_client
  @resource_via_client ||= find_batch_job_queue(@display_name)
end