Amazon API Gateway to AWS Lambda to Amazon S3

API Gateway → AWS Lambda → S3

Create an API Gateway API that fetches a presigned URL from S3 via Lambda.

This pattern helps you to deploy a CDK stack with API Gateway, Lambda, and S3 bucket. For an HTTP GET request with the query string of an object key to the APIGateway Endpoint backed by AWS Lambda Function will generate the PresignedURL for the object available in the S3 Bucket.

< 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/apigw-lambda-s3-cdk-dotnet

Deploy

See the GitHub repo for detailed deployment instructions.


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

See the GitHub repo for detailed cleanup instructions.

Created by:

Sakthivel Chellapparimanam

AWS - Cloud Application Architect

Follow on LinkedIn