As at now, S3 doesn’t have object read event trigger. What you may do is to use cloudtrail to track the api call to read object of the s3 bucket and create an alarm to trigger a lambda function.
ex: S3 -> CloudTrail -> CloudWatch Event -> Rule -> Lamdba
Another simple solution would be to allow the object download directly via lambda.
ex: API Gateway -> Lambda -> S3
This will return the lambda output which can be the blob (be aware of the size limit) or preferably pre-signed url for the object.
- WordPress Error: Is its parent directory writable by the server - November 2, 2022
- PHP Error: Warning: mysqli::__construct(): (HY000/1044): Access denied for user - October 25, 2022
- WordPress Error: llegal mix of collations - October 14, 2022