Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
AWS ALB - AWS Lambda event (JSON)
"requestContext": {
"elb": {
"targetGroupArn": "arn:aws:elasticloadbalancing:XXX:YYY:targetgroup/lambda-ZZZ"
"httpMethod": "GET",
"path": "/my-new-feature",
"queryStringParameters": {
"id": "123"
"headers": {
"accept": "application/json",
"accept-encoding": "gzip",
"connection": "keep-alive",
"host": "",
"upgrade-insecure-requests": "1",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36",
"x-amzn-trace-id": "Root=1-5c536348-3d683b8b04734faae651f476",
"x-forwarded-for": "",
"x-forwarded-port": "80",
"x-forwarded-proto": "http",
"x-imforwards": "20"
"body": "",
"isBase64Encoded": false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.