Does anybody used API GW v2 + CFront Viewer variab...
# help
a
Does anybody used API GW v2 + CFront Viewer variables? I want to know from CFront the value
Cloudfront-Viewer-Country
. Apparently this is possible to do using Edge from GW v1, but not using GW v2 with Regional? https://stackoverflow.com/questions/64318725/geolocation-service-with-aws-api-gateway-and-lambda
f
Yeah that makes sense. Edge endpoints are behind AWS CloudFront distribution.
I’m not sure if there’s a way to access
Cloudfront-Viewer-Country
if you create a CloudFront distribution for your Regional endpoint manually.