Search code examples
aws-event-bridge

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.


Solution

    • 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.