Lambda function that reacts to new objects in an S3 bucket inbox, extracts attachment files and produces metadata JSON file and saves them to a destination S3 bucket for further downstream processing.
The function is fired by an SES action as part of receipt rules see here for further info.
See config files in ./deploy
folder for lambda naming, S3 inbox and S3 output bucket names.
To deploy run the following JOBS on jenkins
TODO: configure jenkins
To deploy locally install the AWS CLI and run the following:
TEST
$ yarn deploy-test
PRODUCTION
$ yarn deploy-production
To tail logs locally install the AWS CLI and run the following:
TEST
$ yarn logs-test
PRODUCTION
$ yarn logs-production
- TBA