Resource: Use the batch:ShareIdentifier condition key - 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: Use the batch:ShareIdentifier condition key

Use the following policy to submit jobs that use the jobDefA job definition to the jobqueue1 job queue with the lowCpu share identifier.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "batch:SubmitJob" ], "Resource": [ "arn:aws-cn::batch:<aws_region>:<aws_account_id>:job-definition/JobDefA", "arn:aws-cn::batch:<aws_region>:<aws_account_id>:job-queue/jobqueue1" ], "Condition": { "StringEquals": { "batch:ShareIdentifier": [ "lowCpu" ] } } } ] }