Is there a way to trigger a Postgres function whenever a new file is uploaded on S3 bucket?

Viewed 262

I have a function on Postgres that imports data from my AWS-S3 bucket. Is there a way to trigger that function whenever a new file is uploaded to the bucket?

p.s. my Postgres database is running on AWS RDS

1 Answers
Related