https://github.com/jameskyburz/aws-lambda-redirect
aws lambda redirect for api gateway
https://github.com/jameskyburz/aws-lambda-redirect
api-gateway aws-lambda http redirect
Last synced: 10 months ago
JSON representation
aws lambda redirect for api gateway
- Host: GitHub
- URL: https://github.com/jameskyburz/aws-lambda-redirect
- Owner: JamesKyburz
- License: apache-2.0
- Created: 2018-03-28T15:34:42.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-20T04:01:00.000Z (about 6 years ago)
- Last Synced: 2025-06-10T08:03:31.815Z (10 months ago)
- Topics: api-gateway, aws-lambda, http, redirect
- Language: JavaScript
- Homepage: https://github.com/JamesKyburz/aws-lambda-redirect
- Size: 124 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-lambda-redirect
[](https://github.com/feross/standard)
[](https://travis-ci.org/JamesKyburz/aws-lambda-redirect)
[](https://npmjs.org/package/aws-lambda-redirect)
[](https://greenkeeper.io/)
A lambda that redirects http using api gateway.
`process.env.STATUS_CODE` is optional default status code is 302.
`process.env.URL` needs to be set.
# license
[Apache License, Version 2.0](LICENSE)