0.0.3 • Published 3 years ago

schadem-cdk-construct-sfn-idp-decider v0.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

Context

Construct as part of the IDP processing suite, usually ran at the beginning. Gets number of pages, validates that the mime type of the file is supported. Will serialize to a manifest and therefore requires that format.

https://pypi.org/project/schadem-tidp-manifest/

Input

A manifest file as event source for a Lambda function.

Output

adds:

mime numberOfPages

{
  "manifest": {
    "S3Path": "s3://my-stack-dev-documentbucket04c71448-19ew04s4uhy8t/uploads"
  },
  "mime": "application/pdf",
  "numberOfPages": 12
}
0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago