Skip to content

Instantly share code, notes, and snippets.

@AviranAbady
Created May 17, 2021 15:26
Show Gist options
  • Save AviranAbady/0e115db0e649f58613cc9cc02321f95e to your computer and use it in GitHub Desktop.
Save AviranAbady/0e115db0e649f58613cc9cc02321f95e to your computer and use it in GitHub Desktop.
Lambda Edge sample request
{
"Records": [
{
"cf": {
"config": {
"distributionId": "EDFDVBD6EXAMPLE"
},
"request": {
"clientIp": "2001:0db8:85a3:0:0:8a2e:0370:7334",
"method": "GET",
"uri": "/picture.jpg",
"headers": {
"host": [
{
"key": "Host",
"value": "d111111abcdef8.cloudfront.net"
}
],
"user-agent": [
{
"key": "User-Agent",
"value": "curl/7.51.0"
}
]
}
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment