This is basically a reimplementation of dan-v/awslambdaproxy
git clone https://github.com/qiuxuewen/lambdaproxy
cd lambdaproxy
make
export AWS_ACCESS_KEY_ID=XXXXXX
export AWS_SECRET_ACCESS_KEY=XXXXXX
./bin/lambdaproxy -r us-west-1 -l test:testpwd@:8080