We have lambda connected to Kinesis that sends data to a Websocket connection via Apigateway. Lambda sits in the VPC and there is also VPC Endpoint to service: com.amazon.us-east-1.execute-api.
The problem is that call (from lambda) times out when performing REST operation on
https://{apigatewayid}.execute-api.us-east-1.amazonaws.com/{stage}/@connections/{connection id}. Host {apigatewayid}.execute-api.us-east-1.amazonaws.com
gets resolved to private ip address like 10.0.11.22
Is there a way to make it work with VPC Endpoint?
Thanks!