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:
Remediation / Resolution
To change your Amazon API Gateway APIs endpoint type so these can be accessible only through private VPC endpoints, perform the following actions:
- AWS Documentation
- Amazon API Gateway FAQs
- Create a Private API in Amazon API Gateway
- Change a Public or Private API Endpoint Type in API Gateway
- Create and Attach an API Gateway Resource Policy to an API
- API Gateway Resource Policy Examples
Unlock the Remediation Steps
Free 30-day Trial
Automatically audit your configurations with Conformity
and gain access to our cloud security platform.
You are auditing:
Risk level: Medium