Can an AWS Lambda invoke a REST API using a connection from Event Bridge API Destinations?

22 Views Asked by At

We are currently using a step function with the API Endpoint to invoke a 3rd party API with an Event Bridge API Destination. Now we need to invoke the same REST API with a Lambda. So we would like to use the API Destination using the SDK. Can this be done? I haven't been able to find an example or documentation showing this. So any example would be helpful.

1

There are 1 best solutions below

2
Michael Gasch On

Not sure I quite understand: you have a public REST API and it should be invoked (via HTTP) using Lambda, triggered by EventBridge? EventBridge offers native Lambda support, so that would work on the same rule where the API-D is configured.