batch:CancelJob is a Write access-level action in the batch service. Grants permission to cancel a job in an AWS Batch job queue in your account
ARNs that batch:CancelJob can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants batch:CancelJob.
Filters access by the tags associated with the resource
A minimal policy that allows batch:CancelJob. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowBatchCancelJob",
"Effect": "Allow",
"Action": "batch:CancelJob",
"Resource": "*"
}
]
}