Skip to main content

schadem-cdk-construct-sfn-idp-decider

Project description

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
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page