Reputation: 167
I have multiple endpoints that I need to hit in one python lambda , for example
The python code to hit the endpoint is the same and I need to avoid duplicate code
I created 3 different rules in EventBridge, my question: how is possible send a parameter from event bridge to lamba and just hit the endpoint expected?
For example send as parameter ['url','/test/'] when the event 30 mins is running to python lambda.
Thanks in advance.
Upvotes: 0
Views: 18
Reputation: 167
Here is the solution Pass custom parameters in Event Bridge schedule event to lambda , there is a option with CloudWatch to set custom object and only is neccesary get this value from your python code.
Upvotes: 0