- 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/
Can you also show how to attach a custom domain (in a private hosted zone) and SSL certificate to the API gateway? Trying to follow the steps here: https://github.com/aws-samples/serverless-samples/tree/main/apigw-private-custom-domain-name, but can't seem to get it to work.