--- title: AWS Athena description: '' slug: /help/docs/platform-services/automation-service/app-central/integrations/aws-athena/ canonical: https://www.sumologic.com/help/docs/platform-services/automation-service/app-central/integrations/aws-athena/ --- import useBaseUrl from '@docusaurus/useBaseUrl'; automox ***Version: 1.2 Updated: July 29, 2025*** Amazon Athena is a cloud-based service that enables you to run SQL queries on data stored in Amazon S3 without the need to set up any infrastructure. It is a serverless, pay-per-query service that makes it easy to analyze large amounts of data. * **Run Query** *(Enrichment)* - The action runs the SQL query statements contained in the Query and retrieve the results from the query. * **Start Query** *(Enrichment)* - Start a query execution. * **Get Query Execution** (*Enrichment*) - Returns the details of a single query execution or a list of up to 50 query executions. * **Get Query Results** *(Enrichment)* - Streams the results of a single query execution specified by the Query Execution ID. * **Cancel Query** (*Enrichment*) - Stops a query execution. * **List Databases** (*Enrichment*) - Lists the databases in the specified data catalog. * **List Workgroups** *(Enrichment)* - Lists available workgroups for the account. * **List Table Metadata** (*Enrichment*) - Lists the metadata for the tables in the specified data catalog database. ## Amazon Athena configuration To [get access key and secret access key](https://docs.aws.amazon.com/athena/latest/ug/key-management.html), you will need to follow these steps: 1. Sign in to your [AWS Management Console](https://console.aws.amazon.com/). 1. Click on your account name in the top-right corner of the screen and select **My Security Credentials** from the drop-down menu. 1. Click on the **Access keys** section in the left-hand menu. 1. Click on the **Create New Access Key** button. 1. Your new access key and secret access key will be displayed on the screen. Make sure to copy and save them in a secure location as you will not be able to access them again. ## Configure Amazon Athena in Automation Service and Cloud SOAR import IntegrationsAuth from '../../../../reuse/integrations-authentication.md'; import IntegrationsAuthAWS from '../../../../reuse/integrations-authentication-aws.md'; import IAMConfiguration from '../../../../reuse/automation-service/aws/iam-configuration.md'; import AWSRegions from '../../../../reuse/automation-service/aws/region.md'; import AWSAccesskey from '../../../../reuse/automation-service/aws/access-key.md'; import AWSSecret from '../../../../reuse/automation-service/aws/secret.md'; import AWSIAMRole from '../../../../reuse/automation-service/aws/iam-role.md'; import IntegrationCertificate from '../../../../reuse/automation-service/integration-certificate.md'; import IntegrationEngine from '../../../../reuse/automation-service/integration-engine.md'; import IntegrationLabel from '../../../../reuse/automation-service/integration-label.md'; import IntegrationProxy from '../../../../reuse/automation-service/integration-proxy.md'; import IntegrationTimeout from '../../../../reuse/automation-service/integration-timeout.md'; * * * * * * * * * AWS Athena configuration For information about Amazon Athena, see [Athena documentation](https://docs.aws.amazon.com/athena/). ### AWS IAM role-based access ## Required Permissions ``` athena:StartQueryExecution athena:GetQueryExecution athena:GetQueryResults athena:StopQueryExecution athena:ListDatabases athena:ListWorkGroups athena:ListTableMetadata glue:GetDatabase glue:GetDatabases glue:GetTable glue:GetTables glue:GetTableVersion glue:GetTableVersions s3:GetObject s3:PutObject s3:ListBucket ``` ## Limitations Local [Automation Bridge](/docs/platform-services/automation-service/automation-service-bridge/) is not supported in this version. ## External Libraries * [AWS Athena](https://github.com/boto/boto3/blob/develop/LICENSE) ## Change Log * February 22, 2023 (v1.0) - First upload * June 15, 2023 (v1.1) - Updated the integration with Environmental Variables * July 29, 2025 (v1.2) - Added support for IAM role authentication - Users can now authenticate using an AWS IAM Role in addition to access key–based authentication.