S3 Object Sanitization via S3 Object Access Point Lambda
This project provides an example of using scrubadub and s3 object lambda in CDK to sanitize s3 objects requested of PII data. This was done as a POC to see how easy it was to implement.
Deployment
npm install
cdk synth && cdk deploy
Example
$ python test.py
Original object from the S3 bucket:
My cat can be contacted on example@example.com, or 1800 555-5555
Object processed by S3 Object Lambda:
My cat can be contacted on {{EMAIL}}, or {{PHONE}}