1davidmichael / s3-sanitization-poc-cdk

Example CDK app of S3 object PII sanitization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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}}

About

Example CDK app of S3 object PII sanitization

License:MIT License


Languages

Language:TypeScript 39.7%Language:Python 26.5%Language:JavaScript 23.2%Language:Dockerfile 10.6%