Skip to content
/ AwsGoLambdaProxy Public template

An aws go lambda to support aws gateway LAMBDA_PROXY async executions.

License

Notifications You must be signed in to change notification settings

JoseAlavez/AwsGoLambdaProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motivation

An aws go lambda to support aws gateway LAMBDA_PROXY async executions.

Configuration

Required Variables:

  • region: Required to create a new AWS session for invoking the proxied lambda.
  • functionName: Lambda function name to invoke.
  • invocationType: Lambda invocation type to use.
  • logType: Lambda log type to use.

Optional Variables:

  • qualifier: Version of lambda function to use.
  • clientContext: Additional client data to append in request.

More info in: https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html

Build Example on Linux

cd $GOPATH/src/AwsGoLambdaProxy
env GOOS=linux GOARCH=amd64 go build -o /tmp/AwsGoLambdaProxy
zip -j /tmp/AwsGoLambdaProxy.zip /tmp/AwsGoLambdaProxy
aws lambda update-function-code --function-name FUNCTION_NAME --zip-file fileb:///tmp/AwsGoLambdaProxy.zip

About

An aws go lambda to support aws gateway LAMBDA_PROXY async executions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages