Created
October 15, 2026 19:49
-
-
Save mtheoryx/fcb443c6139ced1d41fa520da962f87a to your computer and use it in GitHub Desktop.
Athena Permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "AthenaRunQueries", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "athena:StartQueryExecution", | |
| "athena:StopQueryExecution", | |
| "athena:GetQueryExecution", | |
| "athena:GetQueryResults", | |
| "athena:BatchGetQueryExecution", | |
| "athena:GetWorkGroup", | |
| "athena:ListWorkGroups" | |
| ], | |
| "Resource": "arn:aws:athena:us-east-1:411294620421:workgroup/primary" | |
| }, | |
| { | |
| "Sid": "AthenaResultsBucket", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "s3:PutObject", | |
| "s3:GetObject", | |
| "s3:ListBucket", | |
| "s3:GetBucketLocation" | |
| ], | |
| "Resource": [ | |
| "arn:aws:s3:::query-results-sv-ncaa-org", | |
| "arn:aws:s3:::query-results-sv-ncaa-org/*" | |
| ] | |
| }, | |
| { | |
| "Sid": "ReadCloudTrailLogs", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "s3:GetObject", | |
| "s3:ListBucket" | |
| ], | |
| "Resource": [ | |
| "arn:aws:s3:::aws-cloudtrail-logs-411294620421-*", | |
| "arn:aws:s3:::aws-cloudtrail-logs-411294620421-*/*" | |
| ] | |
| }, | |
| { | |
| "Sid": "GlueTableDefinitions", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "glue:CreateDatabase", | |
| "glue:CreateTable", | |
| "glue:GetTable", | |
| "glue:GetTables", | |
| "glue:GetDatabase", | |
| "glue:GetDatabases", | |
| "glue:GetPartitions", | |
| "glue:CreatePartition", | |
| "glue:BatchCreatePartition" | |
| ], | |
| "Resource": "*" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment