Edgar Giovanni
Edgar Giovanni

Reputation: 35

EventBridge and Lambda different inputs

I need to run a Lambda Function with a Thousand of different inputs, I did it with a Event Bus and another lambda that send the events reading de input from a DynamoDB.

Is that the best way to do this? The lambda that send the events to the event bus, take too much time, and I need to do a loop to send 10 entries at time for the event bus limitations, in boto3.

Upvotes: 0

Views: 646

Answers (1)

emilio
emilio

Reputation: 762

You can still trigger a stepfunction from Eventbridge and perform a parallel scan with dynamodb to produce the input for the lambda.

Alternatively you can update every dynamodb item with lambda or stepfunction and use dynamodb streams to trigger your lambda.

Upvotes: 1

Related Questions