I have an AWS Lambda function that triggers on every Kinesis record when it comes into Kinesis. However, I want to trigger the Lambda function with a specific number of messages.
For example, I want to trigger the Lambda function with 5 messages rather than 1.