Connect to Athena
Steps to prepare and connect to Athena
Lightup account setup: Athena
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"athena:GetTableMetadata",
"athena:StartQueryExecution",
"athena:GetQueryResultsStream",
"glue:GetTable",
"glue:GetTables",
"athena:GetQueryResults",
"athena:GetDatabase",
"athena:GetDataCatalog",
"athena:GetNamedQuery",
"athena:ListTagsForResource",
"athena:ListQueryExecutions",
"athena:ListNamedQueries",
"glue:GetDatabase",
"athena:GetWorkgroup",
"athena:ListDatabases",
"athena:StopQueryExecution",
"athena:GetQueryExecution",
"athena:BatchGetNamedQuery",
"athena:ListTableMetadata",
"athena:BatchGetQueryExecution"
],
"Resource": [
"arn:aws:glue:us-west-2:000000000000:catalog",
"arn:aws:glue:us-west-2:000000000000:database/db1",
"arn:aws:glue:us-west-2:000000000000:database/db2",
"arn:aws:glue:us-west-2:000000000000:database/db1/*",
"arn:aws:glue:us-west-2:000000000000:database/db2/*",
"arn:aws:athena:us-west-2:000000000000:workgroup/primary",
"arn:aws:athena:us-west-2:000000000000:dataCatalog/AwsDataCatalog"
]
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": [
"athena:ListDataCatalogs",
"athena:ListWorkGroups"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::[athena-s3-result-dir]"
]
},
{
"Effect": "Allow",
"Action": [
"s3:PutObject"
"s3:GetObject"
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::[athena-s3-result-dir]/*"
]
}
]
}Connector settings
Last updated



