December 2019
Intermediate to advanced
382 pages
9h 43m
English
In a previous chapter, we talked about the types of invocation for Lambda functions and how other services in the AWS ecosystem can trigger a function to be executed. Now, it's time to learn a little more about how this applies to S3 and see how we can create one ourselves.
The example in this section and the next is a trivial exercise to show that we can enable some processing to happen when an object is uploaded to a bucket in S3. Setting the scene, let's say we have users who are uploading photos into an S3 bucket. We want to classify these photos and move them into another location within the bucket. We also want to extract and store the metadata of the photo, such as the EXIF and a timestamp. Storing this data ...