JobQueue
Source:
src/AWS/Batch/JobQueue.ts
An AWS Batch job queue. Jobs submitted to the queue are scheduled onto its associated compute environments in preference order.
Creating Job Queues
Section titled “Creating Job Queues”Queue on a Fargate Compute Environment
const ce = yield* Batch.ComputeEnvironment("JobsCE", {});const queue = yield* Batch.JobQueue("JobsQueue", { computeEnvironments: [ce.computeEnvironmentArn],});Prioritized queue
const critical = yield* Batch.JobQueue("CriticalQueue", { priority: 10, computeEnvironments: [ce.computeEnvironmentArn],});