Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS EventBridge scheduled events with custom details?

I'm trying to build an architecture where a single Lambda is triggered on a schedule with multiple parameter sets. So for example if I have three sets of parameters and set schedule to ten minutes I expect to get three executions every ten minutes.

Is there a way to trigger an EventBridge scheduled events with custom properties so I can pass parameters to Lambda? I've noticed the details property in the event schema but couldn't find any reference to its usage with scheduled events.

like image 544
mbrg Avatar asked Dec 13 '20 08:12

mbrg


1 Answers

  • To trigger a single lambda function for multiple parameter sets, you can create a separated schedule rule for each parameter set.
  • To provide input to your triggered lambda function you can set "configure input" when you select your lambda function as a target, for example you can provide your input in json format.
like image 95
Asri Badlah Avatar answered Oct 23 '22 12:10

Asri Badlah