The Amazon S3 notification is a feature that enables you to receive notifications when certain events(put, delete, modify, etc.) happen in your bucket. There can be three types of target that can be added as a Destination - SNS topic, SQS queue or Lambda function.
Know more about this here -
https://docs.aws.amazon.com/AmazonS3/...
Using AWS Lambda with Amazon S3 - https://docs.aws.amazon.com/lambda/la...
DISCLAIMER: NOT ENDORSED BY AWS, ALL MY OPINION.