An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# aws-lambda-redirect

[![js-standard-style](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/feross/standard)
[![build status](https://api.travis-ci.org/JamesKyburz/aws-lambda-redirect.svg)](https://travis-ci.org/JamesKyburz/aws-lambda-redirect)
[![downloads](https://img.shields.io/npm/dm/aws-lambda-redirect.svg)](https://npmjs.org/package/aws-lambda-redirect)
[![Greenkeeper badge](https://badges.greenkeeper.io/JamesKyburz/aws-lambda-redirect.svg)](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)