athena:CancelQueryExecution is a Write access-level action in the athena service. Grants permission to cancel query execution. Deprecated. Applies only to AWS services and principals that use Athena JDBC driver earlier than 1.1.0. Use StopQueryExecution otherwise
ARNs that athena:CancelQueryExecution can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants athena:CancelQueryExecution.
Filters access by the tag key-value pairs attached to the resource
A minimal policy that allows athena:CancelQueryExecution. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAthenaCancelQueryExecution",
"Effect": "Allow",
"Action": "athena:CancelQueryExecution",
"Resource": "*"
}
]
}