It seems that since 2017 (now 2024), AWS has 'S3 Batch Operations' where you can specify a 'job' (which among other common actions, can specify an AWS Lambda), and it visits the specified objects in the specified buckets.