Git Product home page Git Product logo

aws-pdf-textract-pipeline's People

Contributors

aeksco avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aws-pdf-textract-pipeline's Issues

Update Node.js runtime version for lambda functions

Resolves this error message:

Resource handler returned message: "The runtime parameter of nodejs10.x is no longer supported for creating or updating AWS > Lambda functions. We recommend you use the new runtime (nodejs14.x) while creating or updating functions

Hard-code PDF download limit to curb unintended AWS costs

There's a warning note in README.md detailing:

Warning - the AnalyzeDocument process from AWS Textract costs $50 per 1,000 PDF pages. Be careful when deploying this CDK stack as you could unintentionally rack up an expensive AWS bill quickly if you're not paying attention.

This might not be enough - if a user finds this project and doesn't read the documentation, they could inadvertently rack up a very expensive AWS bill.

We should introduce a hard-coded limit that prevents the PDF Download stage from downloading more than, let's say, 5 documents at a time. This addition ensures that users who really want to use this stack have read the documentation, and casual users who are testing things out don't run the risk of accidentally racking up a lot of charges.

Fix IAM role issue with send-pdf-to-textract

Seeing this issue: addToQueueLambdaFunction is not authorized to perform: textract:StartDocumentAnalysis

Should also take a moment to rename the addToQueueLambdaFunction to match the filename in src.

Add tests for CDK stack

This project should implement the cdk/assert package so we can test the output of the CDK stack in a CI/CD environment.

Update to latest version of CDK

The following packages must be updated in package.json:

  • @aws-cdk/aws-dynamodb
  • @aws-cdk/aws-events
  • @aws-cdk/aws-events-targets
  • @aws-cdk/aws-iam
  • @aws-cdk/aws-lambda
  • @aws-cdk/aws-lambda-event-sources
  • @aws-cdk/core

The latest published version on NPM is 1.109.0 - all of these packages should be updated to at least 1.100.0 if possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.