Ensure that your Amazon API Gateway APIs are only accessible through private API endpoints and not visible to the public Internet. When the API type is private, it can be accessed only privately through the interface VPC endpoint.
This rule can help you with the following compliance standards:
This rule can help you work with the AWS Well-Architected Framework
This rule resolution is part of the Cloud Conformity Security & Compliance tool for AWS
With this configuration, the traffic to your API Gateway APIs uses secure connections and does not leave the Amazon network. Having private API endpoints for your REST APIs allows you to use all API Gateway service features, while securely connecting them to other AWS services and resources inside your Virtual Private Cloud (VPC).
To determine if your Amazon API Gateway APIs are using private endpoints, perform the following actions:
To change your Amazon API Gateway APIs endpoint type so these can be accessible only through private VPC endpoints, perform the following actions: