Build a serverless PII redaction pipeline with Amazon Bedrock Data Automation
Amazon Web Services Samantha Stuart
Amazon Bedrock Data Automation was used to build a serverless pipeline that detects and redacts PII in scanned documents and images using a custom blueprint plus post-processing. The pipeline targets redaction workloads up to about 25,000 pages nightly. Redaction quality shifts upward by adding a second output pass with token-matching logic, increasing recall from 89.3% to 95.2% while keeping precision near 96% in the tested use case.
Why it matters
Learn how to automate end-to-end PII detection and redaction from scanned documents at scale using Amazon Bedrock Data Automation with a custom blueprint, AWS Step Functions, and AWS Lambda. A custom blueprint redacts sensitive fields with field-level precision, and a token matching quality check raises recall across degraded and handwritten documents.