Resource: Restrict to a job queue - 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).

Resource: Restrict to a job queue

Use the following policy to submit jobs to a specific job queue that's named queue1 with any job definition name.

Important

When scoping resource-level access for job submission, you must provide both job queue and job definition resource types.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "batch:SubmitJob" ], "Resource": [ "arn:aws-cn:batch:<aws_region>:<aws_account_id>:job-definition/*", "arn:aws-cn:batch:<aws_region>:<aws_account_id>:job-queue/queue1" ] } ] }