- Language:
- Integration
- Framework:
- AWS SAM
Download this pattern (.zip)
View this pattern on GitHub
Clone repo
git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-s3-proxy
Deploy
Deploy the stack: <code>sam deploy</code>.
Testing
Once the application is deployed, retrieve the API URL provided as output and open it in a browser page.
Replace the folder and item place holder with S3 bucket name and path to your file
Example: https://12345abcde.execute-api.{region}.amazonaws.com/Prod/mybucket/folder1/folder2/index.html
Cleanup
Delete the stack: sam delete.