The Zip deflate processor makes it easy to package multiple documents into a single compressed Zip archive. This makes it possible to package the result of the processing of specific documents into a single archive ready to be stored, or shared with another system.
🗄️ Deflating Archives
To use this middleware, you import it in your CDK stack and connect it to a data source that provides documents.
🏗️ Architecture
The Zip deflate processor uses AWS Lambda as a compute for creating archives. The compute can run up to 15 minutes to package the files into a compressed archive, and provides the next middlewares in the pipeline with the created Zip archive
🏷️ Properties
Supported Inputs
Mime Type
Description
*/*
This middleware supports any type of documents as an input.
Supported Outputs
Mime Type
Description
application/zip
The Zip deflate processor produces Zip archives.
Supported Compute Types
Type
Description
CPU
This middleware only supports CPU compute.
📖 Examples
Deflate Pipeline - An example showcasing how to archive multiple documents.