https://developers.cloudflare.com/r2/examples/upload-logs-event-notifications/#log-and-store-upload-
https://developers.cloudflare.com/r2/examples/upload-logs-event-notifications/#log-and-store-upload-events-in-r2-with-event-notifications
There's a guide here on getting started. You could modify that worker they give as an example writing to R2, to fetch(...) your aws lambda endpoint instead and pass the messages
There's a guide here on getting started. You could modify that worker they give as an example writing to R2, to fetch(...) your aws lambda endpoint instead and pass the messages
Cloudflare Docs
This example provides a step-by-step guide on using event notifications to capture and store R2 upload logs in a separate bucket.
