title: How to use AWS VPC endpoints in NAT enabled subnets?
body: <p>I am using few AWS Lambda functions, which are sitting inside private subnets,<br>
  These private subnets have VPC endpoints configured for the services for which the functions need access to,<br>
  The current setup does not use a NAT gateway, therefore all the traffic from the functions is going through the VPC endpoints.<br></p>
  
  <p>I now have a use-case where we need to use a NAT gateway,<br>
  But would enabling NAT mean that the Functions would no longer use the VPC endpoints for external service access, and instead use the NAT?</p>