Overview
File processing apps allow you to add support for new custom file formats and customize processing for supported file formats.
Using External Storage
By default, File Processor apps use the filesFolder
as a temporary folder to store large responses. But this can be overridden:
configuration.{file-process-type}.storeFile = (content) => { // logic to store file, e.g. put it to AWS S3 return '<url-to-download>';};
To properly work with large files in AWS Lambda, you can set the AWS_REGION
and AWS_TMP_BUCKET_NAME
environment variables.
These can also be overridden:
configuration.awsConfig = { tmpBucketName: 'tmpBucketName', region: 'region'};