Created
May 2, 2021 15:38
-
-
Save thanakijwanavit/27d6e7b9015629ff6fc6a89d970854fc to your computer and use it in GitHub Desktop.
sample lambda edge input for removing path example
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
{ | |
"Records": [ | |
{ | |
"cf": { | |
"config": { | |
"distributionDomainName": "d111111abcdef8.cloudfront.net", | |
"distributionId": "EDFDVBD6EXAMPLE", | |
"eventType": "viewer-request", | |
"requestId": "4TyzHTaYWb1GX1qTfsHhEqV6HUDd_BzoBZnwfnvQc_1oF26ClkoUSEQ==" | |
}, | |
"request": { | |
"clientIp": "203.0.113.178", | |
"headers": { | |
"host": [ | |
{ | |
"key": "Host", | |
"value": "d111111abcdef8.cloudfront.net" | |
} | |
], | |
"user-agent": [ | |
{ | |
"key": "User-Agent", | |
"value": "curl/7.66.0" | |
} | |
], | |
"accept": [ | |
{ | |
"key": "accept", | |
"value": "*/*" | |
} | |
] | |
}, | |
"method": "GET", | |
"querystring": "", | |
"uri": "/group/image/175988/175988-1.jpg" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment