Class: Ansible::Ruby::Modules::Aws_batch_job_queue

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_queue.rb

Overview

This module allows the management of AWS Batch Job Queues. It is idempotent and supports “Check” mode. Use module M(aws_batch_compute_environment) to manage the compute environment, M(aws_batch_job_queue) to manage job queues, M(aws_batch_job_definition) to manage job definitions.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#compute_environment_orderObject

Returns The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment should execute a given job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to 3 compute environments with a job queue.

Returns:

  • (Object)

    The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment should execute a given job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to 3 compute environments with a job queue.



28
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_queue.rb', line 28

attribute :compute_environment_order

#job_queue_nameObject

Returns The name for the job queue.

Returns:

  • (Object)

    The name for the job queue



12
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_queue.rb', line 12

attribute :job_queue_name

#job_queue_state:ENABLED, ...

Returns The state of the job queue. If the job queue state is ENABLED , it is able to accept jobs.

Returns:

  • (:ENABLED, :DISABLED, nil)

    The state of the job queue. If the job queue state is ENABLED , it is able to accept jobs.



20
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_queue.rb', line 20

attribute :job_queue_state

#priorityObject

Returns The priority of the job queue. Job queues with a higher priority (or a lower integer value for the priority parameter) are evaluated first when associated with same compute environment. Priority is determined in ascending order, for example, a job queue with a priority value of 1 is given scheduling preference over a job queue with a priority value of 10.

Returns:

  • (Object)

    The priority of the job queue. Job queues with a higher priority (or a lower integer value for the priority parameter) are evaluated first when associated with same compute environment. Priority is determined in ascending order, for example, a job queue with a priority value of 1 is given scheduling preference over a job queue with a priority value of 10.



24
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_queue.rb', line 24

attribute :priority

#state:present, :absent

Returns Describes the desired state.

Returns:

  • (:present, :absent)

    Describes the desired state.



16
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_queue.rb', line 16

attribute :state