serverless Watermark with AWS lambda function

the idea is to use a lambda function to resize and inject a text Watermark into any photo you upload to an S3 bucket.

from AWS Documentation, AWS Lambda integrates with other AWS services to invoke functions with an event parameter containing a set of useful data about the function’s caller. in our case, this AWS service is an S3 bucket that triggers a set of events when some kind of…