I have an AWS Lambda function which processes events from S3. I'd like to aggregate them before processing and let lambda process the batch.
Ideally, I'd like to be able to specify a batch size, and a timeout (say a single even, and then nothing for 5 sec, I'd like to send an 1-event batch).
Is there an idiomatic way to do it using Lambda or other AWS services?
