Amazon API Gateway REST API to Amazon S3

API Gateway → Amazon S3

Create an Amazon API Gateway API that integrates with an S3 bucket.

This AWS CDK Construct implements an Amazon API Gateway REST API connected to Amazon S3 bucket(s).

< 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-s3-cdk

Deploy

cdk deploy


Testing

See the repo for detailed testing notes.

Cleanup

1. Delete the stack: cdk destroy.
2. Confirm the stack has been deleted: aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus".

Created by:

Yogananda Karra

Yogananda Karra

Solutions Architect @ AWS.