-
Notifications
You must be signed in to change notification settings - Fork 15
/
app.py
62 lines (53 loc) · 3.08 KB
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env python3
import aws_cdk as cdk
from textract_cdk_stack_samples.paystub_w2_comprehend_classification import PaystubAndW2Comprehend
from textract_cdk_stack_samples.demo_with_queries_stack import DemoQueries
from textract_cdk_stack_samples.analyze_expense import AnalyzeExpenseStack
from textract_cdk_stack_samples.analyze_id import AnalyzeIDStack
from textract_cdk_stack_samples.insurance import InsuranceStack
from textract_cdk_stack_samples.paystub_w2_spacy import PaystubAndW2Spacy
from textract_cdk_stack_samples.simple_async_workflow import SimpleAsyncWorkflow
from textract_cdk_stack_samples.simple_sync_workflow import SimpleSyncWorkflow
from textract_cdk_stack_samples.most_simple_async_workflow import MostSimpleAsyncWorkflow
from textract_cdk_stack_samples.simple_async_and_sync_workflow import SimpleSyncAndAsyncWorkflow
from textract_cdk_stack_samples.document_split_workflow import DocumentSplitterWorkflow
from textract_cdk_stack_samples.lending_workflow import LendingWorkflow
from textract_cdk_stack_samples.generate_csv_workflow import GenerateCSVWorkflow
from textract_cdk_stack_samples.pdf_mapper_to_fhir_workflow import PdfMapperToFhirWorkflow
from textract_cdk_stack_samples.simple_searchPDF import SimpleSearchPDF
from textract_cdk_stack_samples.open_search_workflow import OpenSearchWorkflow
from textract_cdk_stack_samples.test_workflow import TestWorkflow
from textract_cdk_stack_samples.textract_comprehend_medical_workflow import TextractComprehendMedicalWorkflow
app = cdk.App()
PaystubAndW2Comprehend(
app,
"PaystubAndW2Comprehend",
# If you don't specify 'env', this stack will be environment-agnostic.
# Account/Region-dependent features and context lookups will not work,
# but a single synthesized template can be deployed anywhere.
# Uncomment the next line to specialize this stack for the AWS Account
# and Region that are implied by the current CLI configuration.
#env=cdk.Environment(account=os.getenv('CDK_DEFAULT_ACCOUNT'), region=os.getenv('CDK_DEFAULT_REGION')),
# Uncomment the next line if you know exactly what Account and Region you
# want to deploy the stack to. */
# env=cdk.Environment(account='<account_id>', region='<region-name>'),
# For more information, see https://docs.aws.amazon.com/cdk/latest/guide/environments.html
)
DemoQueries(app, "DemoQueries")
AnalyzeExpenseStack(app, "AnalyzeExpense")
AnalyzeIDStack(app, "AnalyzeID")
InsuranceStack(app, "InsuranceStack")
PaystubAndW2Spacy(app, "PaystubAndW2Spacy")
SimpleAsyncWorkflow(app, "SimpleAsyncWorkflow")
MostSimpleAsyncWorkflow(app, "MostSimpleAsyncWorkflow")
SimpleSyncWorkflow(app, "SimpleSyncWorkflow")
SimpleSyncAndAsyncWorkflow(app, "SimpleSyncAndAsyncWorkflow")
DocumentSplitterWorkflow(app, "DocumentSplitterWorkflow")
LendingWorkflow(app, "LendingWorkflow")
GenerateCSVWorkflow(app, "GenerateCSVWorkflow")
PdfMapperToFhirWorkflow(app, "PdfMapperToFhirWorkflow")
SimpleSearchPDF(app, "SimpleSearchPDF")
OpenSearchWorkflow(app, "OpenSearchWorkflow")
TestWorkflow(app, "TestWorkflow")
TextractComprehendMedicalWorkflow(app, "TextractComprehendMedicalWorkflow")
app.synth()