Transforming objects with S3 Object Lambda - Amazon Simple Storage Service

Transforming objects with S3 Object Lambda

With S3 Object Lambda you can add your own code to Amazon S3 GET requests to modify and process data as it is returned to an application. You can use custom code to modify the data returned by standard S3 GET requests to filter rows, dynamically resize images, redact confidential data, and more. Powered by AWS Lambda functions, your code runs on infrastructure that is fully managed by AWS, eliminating the need to create and store derivative copies of your data or to run proxies, all with no changes required to applications.

S3 Object Lambda uses AWS Lambda functions to automatically process the output of a standard S3 GET request. AWS Lambda is a serverless compute service that runs customer-defined code without requiring management of underlying compute resources. You can author and execute your own custom Lambda functions, tailoring data transformation to your specific use cases. You can configure a Lambda function and attach it to an S3 Object Lambda service endpoint and S3 will automatically call your function. Then any data retrieved using an S3 GET request through the S3 Object Lambda endpoint will return a transformed result back to the application. All other requests will be processed as normal, as illustrated in the following diagram.


            S3 Object Lambda diagram.

The topics in this section describe how to work with Object Lambda access points.

For more information about standard access points, see Managing data access with Amazon S3 access points.

For information about working with buckets, see Buckets overview. For information about working with objects, see Amazon S3 objects overview.