I have a usecase in which, there will be a website hosted on an AWS S3 bucket,
This S3 Website will be calling APIs to fetch data to be rendered on.
In case of an AWS serveless architecture, we usually have an API Gateway in front of AWS Lambda functions to do the processing and returning required data.
AWS Last year launched API Gateway Private Endpoints - https://aws.amazon.com/blogs/compute/introducing-amazon-api-gateway-private-endpoints/
The private API Gateway will be accessible through VPC endpoint,
I wanted to know if a private API Gateway endpoint be used by the S3 Bucket to access data internally,
Or the S3 being outside VPC will require require a Public facing API Gateway endpoint?