Delete a job queue in Amazon Batch - Amazon Batch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Delete a job queue in Amazon Batch

When you no longer need your job queue, you can disable and delete the job queue.

Delete a job queue (Amazon Batch console)
  1. Open the Amazon Batch console at https://console.aws.amazon.com/batch/.

  2. In the navigation pane, choose Job queues and then choose a job queue.

  3. Choose Actions and then Disable.

  4. Once the job queue's state is Disabled, choose Actions and then Delete.

  5. In the modal window choose Delete job queue.

Delete a job queue (Amazon CLI)
  1. Disable the job queue to prevent new job submissions:

    aws batch update-job-queue \ --job-queue my-sm-training-fifo-jq \ --state DISABLED
  2. Wait for any running jobs to complete, then delete the job queue:

    aws batch delete-job-queue \ --job-queue my-sm-training-fifo-jq