Created
October 21, 2019 13:24
-
-
Save alexcasalboni/7186fcaa5ad2229b799f7c0106f99d9b to your computer and use it in GitHub Desktop.
AWS ALB - AWS Lambda event (JSON)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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": "lambda-alb-123578498.us-east-2.elb.amazonaws.com", | |
"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": "72.12.164.125", | |
"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