AWS Athena (Pre-release)
Last updated
Was this helpful?
Last updated
Was this helpful?
Amazon’s serverless, interactive query service that lets you analyze data directly in Amazon S3 using standard SQL.
Available methods for connections to the target system from Lumi AI:
The following are limits that can be configured for the system to moderate access and usage from users in Lumi AI:
These properties are the essential source system connection properties that all queries are directed towards.
* Required parameters
You will need to create cross-account IAM role whose trust policy allows Lumi's AWS account to run queries against Athena.
Navigate to IAM -> Policies -> Create policy.
Select the JSON option and paste the following snippet, replacing your-data-bucket
with your-athena-staging-bucket
with the name of your S3 Athena data bucket and S3 your staging (query results) bucket, respectively.
Click Next.
Name the policy AthenaQueryPermissions and click Create Policy.
Navigate to IAM → Roles → Create role.
Select Custom trust policy option and paste the following snippet, replacing lumi-account-id
with Lumi's Account ID and lumi-external-id
with Lumi external ID (provided during onboarding).
Click Next.
In the Permissions policies, search for AthenaQueryPermissions and select it.
Click Next.
Name the role athena-query-runner and click Create Role.
Navigate to your S3 Athena data bucket and click on Permissions
Click on Edit button beside Bucket policy and append the following statement to your policy, replacing your-data-bucket
with the name of your S3 Athena data bucket and lumi-account-id
with Lumi's Account ID
Click Save changes
Navigate to your S3 Athena staging (query results) and click on Permissions.
Click on Edit button beside Bucket policy and append the following statement to your policy, replacing your-athena-staging-bucket
with the name of your S3 Athena staging (query results) bucket and lumi-account-id
with Lumi's Account ID.
Click Save changes
Valid Examples
Invalid Examples
Valid Examples
Invalid Examples
Invalid Examples
Invalid Examples