Posted On: Oct 8, 2022

Amazon S3 Object Lambda now supports adding your own code to S3 HEAD and LIST API requests, in addition to S3 GET requests. With S3 Object Lambda, you can modify the data returned by S3 GET requests to filter rows, dynamically resize images, redact confidential data, and much more. Now, you can also use S3 Object Lambda to modify the output of S3 LIST requests to create a custom view of objects in a bucket and S3 HEAD requests to modify object metadata like object name and size. S3 Object Lambda uses Amazon Lambda functions to automatically process the output of S3 GET, HEAD, and LIST requests. Amazon Lambda is a serverless compute service that runs customer-defined code without requiring management of underlying compute resources.

With just a few clicks in the Amazon Web Services Management Console, you can configure a Lambda function for a supported S3 API call like GET, HEAD, or LIST and attach it to an S3 Object Lambda Access Point. From that point forward, S3 will automatically call your Lambda function to process any data retrieved through the S3 Object Lambda Access Point, returning a transformed result back to the application. With today’s launch, you can use S3 Object Lambda for use cases like enriching your object lists by querying an external index that contains additional metadata, filtering and masking your object lists to only include objects with a specific object tag, or adding a file extension to all the object names in your object lists.

Amazon S3 Object Lambda is now available in the Amazon Web Services China (Beijing) Region, operated by Sinnet, and the Amazon Web Services China (Ningxia) Region, operated by NWCD. You can get started with S3 Object Lambda through the Amazon Web Services Management Console, Amazon Command Line Interface (CLI), Application Programming Interface (API), or Amazon Software Development Kit (SDK) client. For pricing information, please visit the Amazon S3 pricing page. To learn more about S3 Object Lambda, visit the Amazon S3 features page.