aws-samples / amazon-textract-transformer-pipeline

Post-process Amazon Textract results with Hugging Face transformer models for document understanding
MIT No Attribution
88 stars 25 forks source link

Upgrade CDK v1->v2 #12

Closed athewsey closed 2 years ago

athewsey commented 2 years ago

Issue #, if available: N/A

Description of changes:

Migrate the solution stack from AWS CDK v1 to v2 (as discussed in the CDK docs) to keep up to date with latest major version. Pretty straightforward overall as we were already aligned to modern configurations, and the only Experimental module we seem to depend on is aws_cdk.aws_lambda_python_alpha for bundling Python Lambda functions.

Raising as a backport from support/1.x before main, because it's not yet confirmed whether recent A2I review work (#10) on main can flow back.

Testing done:

Tested stack deploys and works as expected in demo environment.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.