Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.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.
- JSON
-
-
{
"Version":"2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"batch:SubmitJob"
],
"Resource": [
"arn:aws-eusc:batch:eusc-de-east-1:555555555555:job-definition/JobDefA",
"arn:aws-eusc:batch:eusc-de-east-1:555555555555:job-queue/jobqueue1"
],
"Condition": {
"StringEquals": {
"batch:ShareIdentifier": [
"lowCpu"
]
}
}
}
]
}