Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Working with Amazon VPC endpoints

Focus mode
Working with Amazon VPC endpoints - CodeArtifact

You can configure CodeArtifact to use an interface virtual private cloud (VPC) endpoint to improve the security of your VPC.

VPC endpoints use AWS PrivateLink, a service that makes it possible for you to access CodeArtifact APIs through private IP addresses. AWS PrivateLink restricts all network traffic between your VPC and CodeArtifact to the AWS network. When you use an interface VPC endpoint, you don't need an internet gateway, NAT device, or virtual private gateway. For more information, see VPC Endpoints in the Amazon Virtual Private Cloud User Guide.

Important
  • VPC endpoints do not support cross-AWS Region requests. Make sure that you create your endpoint in the same AWS Region where you plan to issue your API calls to CodeArtifact.

  • VPC endpoints only support Amazon-provided DNS through Amazon Route 53. If you want to use your own DNS, you can use conditional DNS forwarding. For more information, see DHCP Option Sets in the Amazon Virtual Private Cloud User Guide.

  • The security group attached to the VPC endpoint must allow incoming connections on port 443 from the private subnet of the VPC.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.