Skip to content

Convert HTTP request to API Gateway payload for aws-lambda-rie

License

Notifications You must be signed in to change notification settings

clearobject/aws-lambda-rie-gateway

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-lambda-rie-gateway

Convert HTTP request to API Gateway payload for aws-lambda-rie

Usage

  1. Start Docker container for Lambda with aws-lambda-rie: docker run -p 9000:8080 0123456789012dkr.ecr.ap-northeast-1.amazonaws.com/your-awesome-app:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
  2. Start aws-lambda-rie-gateway: cargo run
  3. Then you can access Lambda for API Gateway with normal HTTP request: curl http://localhost:8080/hello

Usage Docker Image

From container registry

  1. Run docker run --rm --env TARGET_URL=http://rie_app:8080 --publish 8080:8080 ghcr.io/eagletmt/aws-lambda-rie-gateway

From source

  1. Clone this repository
  2. Then docker build --tag aws-lambda-rie-gateway
  3. Execute with docker run --rm --env TARGET_URL=http://rie_app:8080 --publish 8080:8080 aws-lambda-rie-gateway

About

Convert HTTP request to API Gateway payload for aws-lambda-rie

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 88.8%
  • Dockerfile 11.2%