AWS CodeDeploy now supports deployments to VPC endpoints
You can now use AWS CodeDeploy to deploy applications to your virtual private cloud (VPC) through VPC endpoints powered by AWS PrivateLink. With this feature, you can use CodeDeploy to deploy your critical, internal applications without using an Internet gateway, public IP addresses, or a VPN connection. AWS PrivateLink provides secure connectivity between VPCs and AWS services, without requiring the traffic to traverse the Internet or leave the Amazon network.
Source:: Amazon AWS