Skip to Content
Learn AWS Serverless Computing
book

Learn AWS Serverless Computing

by Scott Patterson
December 2019
Intermediate to advanced
382 pages
9h 43m
English
Packt Publishing
Content preview from Learn AWS Serverless Computing

Interacting using the SDK

We just put together an example of how a Lambda can be triggered and automatically get the new object. We want to do more processing on the file and then upload it to a different location in the same bucket—one that doesn't trigger an event. The following diagram shows this new functionality, where the Lambda function is performing the putObject API action using the SDK:

Adding more actions to our event triggering sequence

For the upload, we're going to leverage the API operations in our SDK to put or upload the object into a folder called photos-processed.

Let's walk through some examples in different languages to ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Sunil Gulabani

Publisher Resources

ISBN: 9781789958355