athena:RunQuery is a Write access-level action in the athena service. Grants permission to run a query. Deprecated. Applies only to AWS services and principals that use Athena JDBC driver earlier than 1.1.0. Use StartQueryExecution otherwise
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows athena:RunQuery. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAthenaRunQuery",
"Effect": "Allow",
"Action": "athena:RunQuery",
"Resource": "*"
}
]
}