Class: Aws::Batch::Types::JobQueueDetail
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::JobQueueDetail
- Defined in:
- gems/aws-sdk-batch/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_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.
-
#state ⇒ String
Describes the ability of the queue to accept new jobs.
-
#status ⇒ String
The status of the job queue (for example,
CREATING
orVALID
). -
#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.
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5197 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 |
#job_queue_arn ⇒ String
The Amazon Resource Name (ARN) of the job queue.
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5197 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 |
#job_queue_name ⇒ String
The job queue name.
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5197 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 |
#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.
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5197 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 |
#priority ⇒ Integer
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.
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5197 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 |
#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
.
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5197 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 |
#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.
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5197 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 |
#status ⇒ String
The status of the job queue (for example, CREATING
or VALID
).
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5197 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 |
#status_reason ⇒ String
A short, human-readable string to provide additional details for the current status of the job queue.
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5197 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 |
#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.
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5197 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 |