1 Answer
- Newest
- Most votes
- Most comments
2
Can there be multiple S3 event notification records in a single SQS message?
Yes, when an S3 event notification is sent to an SQS queue, it includes an array called "Records," which contains one or more records. Each record represents a single S3 event, such as the creation or deletion of an object in a bucket. It's possible for a single SQS message to contain multiple records if multiple S3 events occurred in quick succession. This allows S3 to batch events together and send them in a single notification message to SQS.
Relevant content
- Accepted Answerasked 10 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
Thanks! Makes sense. Do you know if the number of S3 events records in a single SQS message is bound to some threshold or should I consider it unlimited?
The number of S3 event records in a single SQS message is limited by the message size, which is 256 KB. So, it's not unlimited, and the actual number of records depends on their size. Quotas Messages