Class: Aws::Batch::Types::JobQueueDetail
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::JobQueueDetail
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-batch/types.rb
Overview
An object that represents the details for an Batch job queue.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#compute_environment_order ⇒ Array<Types::ComputeEnvironmentOrder>
The compute environments that are attached to the job queue and the order that job placement is preferred.
-
#job_queue_arn ⇒ String
The Amazon Resource Name (ARN) of the job queue.
-
#job_queue_name ⇒ String
The job queue name.
-
#job_queue_type ⇒ String
The type of job queue.
-
#job_state_time_limit_actions ⇒ Array<Types::JobStateTimeLimitAction>
The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times.
-
#priority ⇒ Integer
The priority of the job queue.
-
#scheduling_policy_arn ⇒ String
The Amazon Resource Name (ARN) of the scheduling policy.
-
#service_environment_order ⇒ Array<Types::ServiceEnvironmentOrder>
The order of the service environment associated with the job queue.
-
#state ⇒ String
Describes the ability of the queue to accept new jobs.
-
#status ⇒ String
The status of the job queue (for example, ‘CREATING` or `VALID`).
-
#status_reason ⇒ String
A short, human-readable string to provide additional details for the current status of the job queue.
-
#tags ⇒ Hash<String,String>
The tags that are applied to the job queue.
Instance Attribute Details
#compute_environment_order ⇒ Array<Types::ComputeEnvironmentOrder>
The compute environments that are attached to the job queue and the order that job placement is preferred. Compute environments are selected for job placement in ascending order.
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |
#job_queue_arn ⇒ String
The Amazon Resource Name (ARN) of the job queue.
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |
#job_queue_name ⇒ String
The job queue name.
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |
#job_queue_type ⇒ String
The type of job queue. For service jobs that run on SageMaker Training, this value is ‘SAGEMAKER_TRAINING`. For regular container jobs, this value is `EKS`, `ECS`, or `ECS_FARGATE` depending on the compute environment.
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |
#job_state_time_limit_actions ⇒ Array<Types::JobStateTimeLimitAction>
The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after ‘maxTimeSeconds` has passed.
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |
#priority ⇒ Integer
The priority of the job queue. Job queue priority determines the order that job queues are evaluated when multiple queues dispatch jobs within a shared compute environment. A higher value for ‘priority` indicates a higher priority. Queues are evaluated in cycles, in descending order by priority. For example, a job queue with a priority value of `10` is evaluated before a 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.
<note markdown=“1”> Job queue priority doesn’t guarantee that a particular job executes before a job in a lower priority queue. Jobs added to higher priority queues during the queue evaluation cycle might not be evaluated until the next cycle. A job is dispatched from a queue only if resources are available when the queue is evaluated. If there are insufficient resources available at that time, the cycle proceeds to the next queue. This means that jobs added to higher priority queues might have to wait for jobs in multiple lower priority queues to complete before they are dispatched. You can use job dependencies to control the order for jobs from queues with different priorities. For more information, see [Job Dependencies] in the *Batch User Guide*.
</note>
[1]: docs.aws.amazon.com/batch/latest/userguide/job_dependencies.html
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |
#scheduling_policy_arn ⇒ String
The Amazon Resource Name (ARN) of the scheduling policy. The format is ‘aws:Partition:batch:Region:Account:scheduling-policy/Name `. For example, `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy`.
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |
#service_environment_order ⇒ Array<Types::ServiceEnvironmentOrder>
The order of the service environment associated with the job queue. Job queues with a higher priority are evaluated first when associated with the same service environment.
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
Describes the ability of the queue to accept new jobs. If the job queue state is ‘ENABLED`, it can accept jobs. If the job queue state is `DISABLED`, new jobs can’t be added to the queue, but jobs already in the queue can finish.
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The status of the job queue (for example, ‘CREATING` or `VALID`).
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |
#status_reason ⇒ String
A short, human-readable string to provide additional details for the current status of the job queue.
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The tags that are applied to the job queue. For more information, see [Tagging your Batch resources] in *Batch User Guide*.
[1]: docs.aws.amazon.com/batch/latest/userguide/using-tags.html
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aws-sdk-batch/types.rb', line 6123 class JobQueueDetail < Struct.new( :job_queue_name, :job_queue_arn, :state, :scheduling_policy_arn, :status, :status_reason, :priority, :compute_environment_order, :service_environment_order, :job_queue_type, :tags, :job_state_time_limit_actions) SENSITIVE = [] include Aws::Structure end |