AWS Lambda to Amazon Athena

AWS Lambda → Amazon Athena

Create a Lambda function that queries a prefilled Athena table using boto3 library

This sample project demonstrates how to a Lambda function to invoke a query execution to an Athena database table and fetch them from the same.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/lambda-athena-sam

Deploy

sam deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: same delete.

Created by:

Saborni Bhattacharya

Saborni Bhattacharya

AWS SA, Cloud Enthusiast

Follow on LinkedIn