This project is built using CDK with TypeScript.
The cdk.json
file tells the CDK Toolkit how to execute your app.
All related Infra is defined in lib/cert-extractor-10be-stack.ts
Extractor
is the Python lambda that handles all the logic. Make sure to replace constants like email and blacklisted PAN fields.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testsnpx cdk deploy
deploy this stack to your default AWS account/regionnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation template
- Pypdf for text extraction from PDF.