We created a CloudFront in front of our APIs. Is it possible to restrict API calls other than coming from CloudFront?
Current setup:
Caller --> API Gateway Endpoint --> Lambda
Caller --> CloudFront Endpoint --> API Gateway Endpoint --> Lambda
We expect to have it like this only:
Caller --> CloudFront Endpoint --> API Gateway Endpoint --> Lambda