- Lambda
- Private Api Gateway
- VPC Endpoint
NB: In order to access the Api Gateway through the public DNS of the VPC endpoint, a curl request has to have the api id as header. See also here
curl -i -H "x-apigw-api-id: <api-id>" https://vpce-<vpce-id>.execute-api.<region>.vpce.amazonaws.com/
Yep, I got it working too last week. To get the IP dynamically, you can use this
getEniIpsByEniIds
function like this: