1 Answer
- Newest
- Most votes
- Most comments
1
Private API Gateway endpoints can only be called from within the VPC they are configured in. EventBridge Targets can't point to private resources in a VPC. This means that you can't directly invoke your private API from EventBridge.
You can work around it by invoking a Lambda function instead. The function is attached to the VPC and it can make calls to the API.
Relevant content
asked a year ago

Hi @Uri, thank you for your response.
If your explanation is right (and I do not doubt it), then I wonder why the h**l AWS allows me to select a private REST API from the Drop-Down menu as a target when I select
AWS Serviceas the target type???I used to rely on the preselection of available resources in the Drop-Downs, in the sense that it's impossible to create an incompatible configuration in the Amazon Console.
Good point. Seems like a bug. Will report it internally.
Thank you @Uri
:+1: