@cdklabs/cdk-appmod-catalog-blueprints 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +700 -203
- package/lib/document-processing/adapter/adapter.d.ts +47 -0
- package/lib/document-processing/adapter/adapter.js +5 -0
- package/lib/document-processing/adapter/index.d.ts +2 -0
- package/lib/document-processing/adapter/index.js +19 -0
- package/lib/document-processing/adapter/queued-s3-adapter.d.ts +66 -0
- package/lib/document-processing/adapter/queued-s3-adapter.js +230 -0
- package/lib/document-processing/agentic-document-processing.d.ts +22 -0
- package/lib/document-processing/agentic-document-processing.js +11 -14
- package/lib/document-processing/base-document-processing.d.ts +8 -44
- package/lib/document-processing/base-document-processing.js +23 -190
- package/lib/document-processing/bedrock-document-processing.js +3 -13
- package/lib/document-processing/default-document-processing-config.d.ts +3 -0
- package/lib/document-processing/default-document-processing-config.js +14 -0
- package/lib/document-processing/index.d.ts +2 -0
- package/lib/document-processing/index.js +3 -1
- package/lib/document-processing/resources/default-bedrock-invoke/index.py +36 -24
- package/lib/document-processing/resources/default-sqs-consumer/index.py +10 -5
- package/lib/document-processing/resources/default-strands-agent/index.py +8 -5
- package/lib/document-processing/tests/agentic-document-processing-nag.test.js +6 -2
- package/lib/document-processing/tests/agentic-document-processing.test.js +5 -19
- package/lib/document-processing/tests/bedrock-document-processing-nag.test.js +6 -2
- package/lib/framework/custom-resource/default-runtimes.js +1 -1
- package/lib/framework/foundation/access-log.js +1 -1
- package/lib/framework/foundation/eventbridge-broker.js +1 -1
- package/lib/framework/foundation/network.js +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utilities/data-loader.js +1 -1
- package/lib/utilities/lambda-iam-utils.js +1 -1
- package/lib/utilities/observability/cloudfront-distribution-observability-property-injector.js +1 -1
- package/lib/utilities/observability/default-observability-config.d.ts +9 -0
- package/lib/utilities/observability/default-observability-config.js +20 -0
- package/lib/utilities/observability/index.d.ts +1 -0
- package/lib/utilities/observability/index.js +2 -1
- package/lib/utilities/observability/lambda-observability-property-injector.js +1 -1
- package/lib/utilities/observability/powertools-config.js +1 -1
- package/lib/utilities/observability/state-machine-observability-property-injector.js +1 -1
- package/lib/webapp/frontend-construct.js +1 -1
- package/package.json +9 -9
package/.jsii
CHANGED
|
@@ -4114,7 +4114,7 @@
|
|
|
4114
4114
|
"stability": "experimental"
|
|
4115
4115
|
},
|
|
4116
4116
|
"homepage": "https://github.com/cdklabs/cdk-appmod-catalog-blueprints.git",
|
|
4117
|
-
"jsiiVersion": "5.9.
|
|
4117
|
+
"jsiiVersion": "5.9.7 (build 1693b5a)",
|
|
4118
4118
|
"keywords": [
|
|
4119
4119
|
"cdk"
|
|
4120
4120
|
],
|
|
@@ -4527,12 +4527,13 @@
|
|
|
4527
4527
|
{
|
|
4528
4528
|
"abstract": true,
|
|
4529
4529
|
"docs": {
|
|
4530
|
-
"stability": "experimental"
|
|
4530
|
+
"stability": "experimental",
|
|
4531
|
+
"summary": "System prompt for the agent."
|
|
4531
4532
|
},
|
|
4532
4533
|
"immutable": true,
|
|
4533
4534
|
"locationInModule": {
|
|
4534
4535
|
"filename": "use-cases/document-processing/agentic-document-processing.ts",
|
|
4535
|
-
"line":
|
|
4536
|
+
"line": 27
|
|
4536
4537
|
},
|
|
4537
4538
|
"name": "agentSystemPrompt",
|
|
4538
4539
|
"optional": true,
|
|
@@ -4543,12 +4544,13 @@
|
|
|
4543
4544
|
{
|
|
4544
4545
|
"abstract": true,
|
|
4545
4546
|
"docs": {
|
|
4546
|
-
"stability": "experimental"
|
|
4547
|
+
"stability": "experimental",
|
|
4548
|
+
"summary": "If there are python dependencies that are needed by the provided tools, provide the Lambda Layers with the dependencies."
|
|
4547
4549
|
},
|
|
4548
4550
|
"immutable": true,
|
|
4549
4551
|
"locationInModule": {
|
|
4550
4552
|
"filename": "use-cases/document-processing/agentic-document-processing.ts",
|
|
4551
|
-
"line":
|
|
4553
|
+
"line": 40
|
|
4552
4554
|
},
|
|
4553
4555
|
"name": "lambdaLayers",
|
|
4554
4556
|
"optional": true,
|
|
@@ -4564,12 +4566,32 @@
|
|
|
4564
4566
|
{
|
|
4565
4567
|
"abstract": true,
|
|
4566
4568
|
"docs": {
|
|
4567
|
-
"
|
|
4569
|
+
"default": "No extra IAM permissions would be automatically\nassigned to the processing agent.",
|
|
4570
|
+
"stability": "experimental",
|
|
4571
|
+
"summary": "Bucket where the tools are located in Primarily use to grant read permission to the processing agent to access the tools."
|
|
4568
4572
|
},
|
|
4569
4573
|
"immutable": true,
|
|
4570
4574
|
"locationInModule": {
|
|
4571
4575
|
"filename": "use-cases/document-processing/agentic-document-processing.ts",
|
|
4572
|
-
"line":
|
|
4576
|
+
"line": 22
|
|
4577
|
+
},
|
|
4578
|
+
"name": "toolsBucket",
|
|
4579
|
+
"optional": true,
|
|
4580
|
+
"type": {
|
|
4581
|
+
"fqn": "aws-cdk-lib.aws_s3.Bucket"
|
|
4582
|
+
}
|
|
4583
|
+
},
|
|
4584
|
+
{
|
|
4585
|
+
"abstract": true,
|
|
4586
|
+
"docs": {
|
|
4587
|
+
"remarks": "The agent would dynamically load the tools",
|
|
4588
|
+
"stability": "experimental",
|
|
4589
|
+
"summary": "S3 path where the tools are located."
|
|
4590
|
+
},
|
|
4591
|
+
"immutable": true,
|
|
4592
|
+
"locationInModule": {
|
|
4593
|
+
"filename": "use-cases/document-processing/agentic-document-processing.ts",
|
|
4594
|
+
"line": 33
|
|
4573
4595
|
},
|
|
4574
4596
|
"name": "toolsLocation",
|
|
4575
4597
|
"optional": true,
|
|
@@ -4598,7 +4620,7 @@
|
|
|
4598
4620
|
},
|
|
4599
4621
|
"locationInModule": {
|
|
4600
4622
|
"filename": "use-cases/document-processing/agentic-document-processing.ts",
|
|
4601
|
-
"line":
|
|
4623
|
+
"line": 48
|
|
4602
4624
|
},
|
|
4603
4625
|
"parameters": [
|
|
4604
4626
|
{
|
|
@@ -4627,7 +4649,7 @@
|
|
|
4627
4649
|
"kind": "class",
|
|
4628
4650
|
"locationInModule": {
|
|
4629
4651
|
"filename": "use-cases/document-processing/agentic-document-processing.ts",
|
|
4630
|
-
"line":
|
|
4652
|
+
"line": 47
|
|
4631
4653
|
},
|
|
4632
4654
|
"methods": [
|
|
4633
4655
|
{
|
|
@@ -4638,7 +4660,7 @@
|
|
|
4638
4660
|
},
|
|
4639
4661
|
"locationInModule": {
|
|
4640
4662
|
"filename": "use-cases/document-processing/agentic-document-processing.ts",
|
|
4641
|
-
"line":
|
|
4663
|
+
"line": 52
|
|
4642
4664
|
},
|
|
4643
4665
|
"name": "processingStep",
|
|
4644
4666
|
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.BedrockDocumentProcessing",
|
|
@@ -4678,7 +4700,7 @@
|
|
|
4678
4700
|
"kind": "interface",
|
|
4679
4701
|
"locationInModule": {
|
|
4680
4702
|
"filename": "use-cases/document-processing/agentic-document-processing.ts",
|
|
4681
|
-
"line":
|
|
4703
|
+
"line": 43
|
|
4682
4704
|
},
|
|
4683
4705
|
"name": "AgenticDocumentProcessingProps",
|
|
4684
4706
|
"properties": [
|
|
@@ -4690,7 +4712,7 @@
|
|
|
4690
4712
|
"immutable": true,
|
|
4691
4713
|
"locationInModule": {
|
|
4692
4714
|
"filename": "use-cases/document-processing/agentic-document-processing.ts",
|
|
4693
|
-
"line":
|
|
4715
|
+
"line": 44
|
|
4694
4716
|
},
|
|
4695
4717
|
"name": "processingAgentParameters",
|
|
4696
4718
|
"optional": true,
|
|
@@ -4719,7 +4741,7 @@
|
|
|
4719
4741
|
},
|
|
4720
4742
|
"locationInModule": {
|
|
4721
4743
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4722
|
-
"line":
|
|
4744
|
+
"line": 130
|
|
4723
4745
|
},
|
|
4724
4746
|
"parameters": [
|
|
4725
4747
|
{
|
|
@@ -4758,7 +4780,7 @@
|
|
|
4758
4780
|
"kind": "class",
|
|
4759
4781
|
"locationInModule": {
|
|
4760
4782
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4761
|
-
"line":
|
|
4783
|
+
"line": 104
|
|
4762
4784
|
},
|
|
4763
4785
|
"methods": [
|
|
4764
4786
|
{
|
|
@@ -4771,7 +4793,7 @@
|
|
|
4771
4793
|
},
|
|
4772
4794
|
"locationInModule": {
|
|
4773
4795
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4774
|
-
"line":
|
|
4796
|
+
"line": 475
|
|
4775
4797
|
},
|
|
4776
4798
|
"name": "classificationStep",
|
|
4777
4799
|
"protected": true,
|
|
@@ -4803,7 +4825,7 @@
|
|
|
4803
4825
|
},
|
|
4804
4826
|
"locationInModule": {
|
|
4805
4827
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4806
|
-
"line":
|
|
4828
|
+
"line": 495
|
|
4807
4829
|
},
|
|
4808
4830
|
"name": "enrichmentStep",
|
|
4809
4831
|
"protected": true,
|
|
@@ -4832,7 +4854,7 @@
|
|
|
4832
4854
|
},
|
|
4833
4855
|
"locationInModule": {
|
|
4834
4856
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4835
|
-
"line":
|
|
4857
|
+
"line": 196
|
|
4836
4858
|
},
|
|
4837
4859
|
"name": "handleStateMachineCreation",
|
|
4838
4860
|
"parameters": [
|
|
@@ -4856,26 +4878,7 @@
|
|
|
4856
4878
|
},
|
|
4857
4879
|
"locationInModule": {
|
|
4858
4880
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4859
|
-
"line":
|
|
4860
|
-
},
|
|
4861
|
-
"name": "handleWorkflowTrigger",
|
|
4862
|
-
"parameters": [
|
|
4863
|
-
{
|
|
4864
|
-
"name": "stateMachine",
|
|
4865
|
-
"type": {
|
|
4866
|
-
"fqn": "aws-cdk-lib.aws_stepfunctions.StateMachine"
|
|
4867
|
-
}
|
|
4868
|
-
}
|
|
4869
|
-
],
|
|
4870
|
-
"protected": true
|
|
4871
|
-
},
|
|
4872
|
-
{
|
|
4873
|
-
"docs": {
|
|
4874
|
-
"stability": "experimental"
|
|
4875
|
-
},
|
|
4876
|
-
"locationInModule": {
|
|
4877
|
-
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4878
|
-
"line": 666
|
|
4881
|
+
"line": 463
|
|
4879
4882
|
},
|
|
4880
4883
|
"name": "metrics",
|
|
4881
4884
|
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IObservable",
|
|
@@ -4900,7 +4903,7 @@
|
|
|
4900
4903
|
},
|
|
4901
4904
|
"locationInModule": {
|
|
4902
4905
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4903
|
-
"line":
|
|
4906
|
+
"line": 505
|
|
4904
4907
|
},
|
|
4905
4908
|
"name": "postProcessingStep",
|
|
4906
4909
|
"protected": true,
|
|
@@ -4933,7 +4936,7 @@
|
|
|
4933
4936
|
},
|
|
4934
4937
|
"locationInModule": {
|
|
4935
4938
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4936
|
-
"line":
|
|
4939
|
+
"line": 485
|
|
4937
4940
|
},
|
|
4938
4941
|
"name": "processingStep",
|
|
4939
4942
|
"protected": true,
|
|
@@ -4961,61 +4964,46 @@
|
|
|
4961
4964
|
{
|
|
4962
4965
|
"docs": {
|
|
4963
4966
|
"stability": "experimental",
|
|
4964
|
-
"summary": "
|
|
4965
|
-
},
|
|
4966
|
-
"immutable": true,
|
|
4967
|
-
"locationInModule": {
|
|
4968
|
-
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4969
|
-
"line": 144
|
|
4970
|
-
},
|
|
4971
|
-
"name": "bucket",
|
|
4972
|
-
"type": {
|
|
4973
|
-
"fqn": "aws-cdk-lib.aws_s3.Bucket"
|
|
4974
|
-
}
|
|
4975
|
-
},
|
|
4976
|
-
{
|
|
4977
|
-
"docs": {
|
|
4978
|
-
"stability": "experimental",
|
|
4979
|
-
"summary": "Dead letter queue."
|
|
4967
|
+
"summary": "DynamoDB table for storing document processing metadata and workflow state."
|
|
4980
4968
|
},
|
|
4981
4969
|
"immutable": true,
|
|
4982
4970
|
"locationInModule": {
|
|
4983
4971
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4984
|
-
"line":
|
|
4972
|
+
"line": 112
|
|
4985
4973
|
},
|
|
4986
|
-
"name": "
|
|
4974
|
+
"name": "documentProcessingTable",
|
|
4987
4975
|
"type": {
|
|
4988
|
-
"fqn": "aws-cdk-lib.
|
|
4976
|
+
"fqn": "aws-cdk-lib.aws_dynamodb.Table"
|
|
4989
4977
|
}
|
|
4990
4978
|
},
|
|
4991
4979
|
{
|
|
4992
4980
|
"docs": {
|
|
4993
4981
|
"stability": "experimental",
|
|
4994
|
-
"summary": "
|
|
4982
|
+
"summary": "KMS key."
|
|
4995
4983
|
},
|
|
4996
4984
|
"immutable": true,
|
|
4997
4985
|
"locationInModule": {
|
|
4998
4986
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
4999
|
-
"line":
|
|
4987
|
+
"line": 116
|
|
5000
4988
|
},
|
|
5001
|
-
"name": "
|
|
4989
|
+
"name": "encryptionKey",
|
|
5002
4990
|
"type": {
|
|
5003
|
-
"fqn": "aws-cdk-lib.
|
|
4991
|
+
"fqn": "aws-cdk-lib.aws_kms.Key"
|
|
5004
4992
|
}
|
|
5005
4993
|
},
|
|
5006
4994
|
{
|
|
5007
4995
|
"docs": {
|
|
5008
4996
|
"stability": "experimental",
|
|
5009
|
-
"summary": "
|
|
4997
|
+
"summary": "Ingress adapter, responsible for triggering workflow."
|
|
5010
4998
|
},
|
|
5011
4999
|
"immutable": true,
|
|
5012
5000
|
"locationInModule": {
|
|
5013
5001
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5014
|
-
"line":
|
|
5002
|
+
"line": 118
|
|
5015
5003
|
},
|
|
5016
|
-
"name": "
|
|
5004
|
+
"name": "ingressAdapter",
|
|
5017
5005
|
"type": {
|
|
5018
|
-
"fqn": "
|
|
5006
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.IAdapter"
|
|
5019
5007
|
}
|
|
5020
5008
|
},
|
|
5021
5009
|
{
|
|
@@ -5026,7 +5014,7 @@
|
|
|
5026
5014
|
"immutable": true,
|
|
5027
5015
|
"locationInModule": {
|
|
5028
5016
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5029
|
-
"line":
|
|
5017
|
+
"line": 110
|
|
5030
5018
|
},
|
|
5031
5019
|
"name": "logGroupDataProtection",
|
|
5032
5020
|
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IObservable",
|
|
@@ -5042,7 +5030,7 @@
|
|
|
5042
5030
|
"immutable": true,
|
|
5043
5031
|
"locationInModule": {
|
|
5044
5032
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5045
|
-
"line":
|
|
5033
|
+
"line": 108
|
|
5046
5034
|
},
|
|
5047
5035
|
"name": "metricNamespace",
|
|
5048
5036
|
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IObservable",
|
|
@@ -5059,44 +5047,13 @@
|
|
|
5059
5047
|
"immutable": true,
|
|
5060
5048
|
"locationInModule": {
|
|
5061
5049
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5062
|
-
"line":
|
|
5050
|
+
"line": 106
|
|
5063
5051
|
},
|
|
5064
5052
|
"name": "metricServiceName",
|
|
5065
5053
|
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IObservable",
|
|
5066
5054
|
"type": {
|
|
5067
5055
|
"primitive": "string"
|
|
5068
5056
|
}
|
|
5069
|
-
},
|
|
5070
|
-
{
|
|
5071
|
-
"docs": {
|
|
5072
|
-
"stability": "experimental",
|
|
5073
|
-
"summary": "SQS queue for reliable message processing with dead letter queue support."
|
|
5074
|
-
},
|
|
5075
|
-
"immutable": true,
|
|
5076
|
-
"locationInModule": {
|
|
5077
|
-
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5078
|
-
"line": 146
|
|
5079
|
-
},
|
|
5080
|
-
"name": "queue",
|
|
5081
|
-
"type": {
|
|
5082
|
-
"fqn": "aws-cdk-lib.aws_sqs.Queue"
|
|
5083
|
-
}
|
|
5084
|
-
},
|
|
5085
|
-
{
|
|
5086
|
-
"docs": {
|
|
5087
|
-
"stability": "experimental",
|
|
5088
|
-
"summary": "Encryption key used by the DocumentProcessingBucket."
|
|
5089
|
-
},
|
|
5090
|
-
"immutable": true,
|
|
5091
|
-
"locationInModule": {
|
|
5092
|
-
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5093
|
-
"line": 156
|
|
5094
|
-
},
|
|
5095
|
-
"name": "bucketEncryptionKey",
|
|
5096
|
-
"optional": true,
|
|
5097
|
-
"type": {
|
|
5098
|
-
"fqn": "aws-cdk-lib.aws_kms.IKey"
|
|
5099
|
-
}
|
|
5100
5057
|
}
|
|
5101
5058
|
],
|
|
5102
5059
|
"symbolId": "use-cases/document-processing/base-document-processing:BaseDocumentProcessing"
|
|
@@ -5115,46 +5072,10 @@
|
|
|
5115
5072
|
"kind": "interface",
|
|
5116
5073
|
"locationInModule": {
|
|
5117
5074
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5118
|
-
"line":
|
|
5075
|
+
"line": 26
|
|
5119
5076
|
},
|
|
5120
5077
|
"name": "BaseDocumentProcessingProps",
|
|
5121
5078
|
"properties": [
|
|
5122
|
-
{
|
|
5123
|
-
"abstract": true,
|
|
5124
|
-
"docs": {
|
|
5125
|
-
"remarks": "If not provided, a new bucket will be created with auto-delete enabled based on removalPolicy.",
|
|
5126
|
-
"stability": "experimental",
|
|
5127
|
-
"summary": "S3 bucket for document storage with organized prefixes (raw/, processed/, failed/)."
|
|
5128
|
-
},
|
|
5129
|
-
"immutable": true,
|
|
5130
|
-
"locationInModule": {
|
|
5131
|
-
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5132
|
-
"line": 36
|
|
5133
|
-
},
|
|
5134
|
-
"name": "bucket",
|
|
5135
|
-
"optional": true,
|
|
5136
|
-
"type": {
|
|
5137
|
-
"fqn": "aws-cdk-lib.aws_s3.Bucket"
|
|
5138
|
-
}
|
|
5139
|
-
},
|
|
5140
|
-
{
|
|
5141
|
-
"abstract": true,
|
|
5142
|
-
"docs": {
|
|
5143
|
-
"default": "5",
|
|
5144
|
-
"stability": "experimental",
|
|
5145
|
-
"summary": "The number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue."
|
|
5146
|
-
},
|
|
5147
|
-
"immutable": true,
|
|
5148
|
-
"locationInModule": {
|
|
5149
|
-
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5150
|
-
"line": 54
|
|
5151
|
-
},
|
|
5152
|
-
"name": "dlqMaxReceiveCount",
|
|
5153
|
-
"optional": true,
|
|
5154
|
-
"type": {
|
|
5155
|
-
"primitive": "number"
|
|
5156
|
-
}
|
|
5157
|
-
},
|
|
5158
5079
|
{
|
|
5159
5080
|
"abstract": true,
|
|
5160
5081
|
"docs": {
|
|
@@ -5165,7 +5086,7 @@
|
|
|
5165
5086
|
"immutable": true,
|
|
5166
5087
|
"locationInModule": {
|
|
5167
5088
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5168
|
-
"line":
|
|
5089
|
+
"line": 39
|
|
5169
5090
|
},
|
|
5170
5091
|
"name": "documentProcessingTable",
|
|
5171
5092
|
"optional": true,
|
|
@@ -5183,7 +5104,7 @@
|
|
|
5183
5104
|
"immutable": true,
|
|
5184
5105
|
"locationInModule": {
|
|
5185
5106
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5186
|
-
"line":
|
|
5107
|
+
"line": 61
|
|
5187
5108
|
},
|
|
5188
5109
|
"name": "enableObservability",
|
|
5189
5110
|
"optional": true,
|
|
@@ -5201,7 +5122,7 @@
|
|
|
5201
5122
|
"immutable": true,
|
|
5202
5123
|
"locationInModule": {
|
|
5203
5124
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5204
|
-
"line":
|
|
5125
|
+
"line": 73
|
|
5205
5126
|
},
|
|
5206
5127
|
"name": "encryptionKey",
|
|
5207
5128
|
"optional": true,
|
|
@@ -5219,7 +5140,7 @@
|
|
|
5219
5140
|
"immutable": true,
|
|
5220
5141
|
"locationInModule": {
|
|
5221
5142
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5222
|
-
"line":
|
|
5143
|
+
"line": 55
|
|
5223
5144
|
},
|
|
5224
5145
|
"name": "eventbridgeBroker",
|
|
5225
5146
|
"optional": true,
|
|
@@ -5230,38 +5151,37 @@
|
|
|
5230
5151
|
{
|
|
5231
5152
|
"abstract": true,
|
|
5232
5153
|
"docs": {
|
|
5233
|
-
"default": "
|
|
5154
|
+
"default": "QueuedS3Adapter",
|
|
5234
5155
|
"stability": "experimental",
|
|
5235
|
-
"summary": "
|
|
5156
|
+
"summary": "Adapter that defines how the document processing workflow is triggered."
|
|
5236
5157
|
},
|
|
5237
5158
|
"immutable": true,
|
|
5238
5159
|
"locationInModule": {
|
|
5239
5160
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5240
|
-
"line":
|
|
5161
|
+
"line": 33
|
|
5241
5162
|
},
|
|
5242
|
-
"name": "
|
|
5163
|
+
"name": "ingressAdapter",
|
|
5243
5164
|
"optional": true,
|
|
5244
5165
|
"type": {
|
|
5245
|
-
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.
|
|
5166
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.IAdapter"
|
|
5246
5167
|
}
|
|
5247
5168
|
},
|
|
5248
5169
|
{
|
|
5249
5170
|
"abstract": true,
|
|
5250
5171
|
"docs": {
|
|
5251
|
-
"default": "
|
|
5252
|
-
"remarks": "Should be longer than expected processing time to prevent duplicate processing.",
|
|
5172
|
+
"default": "resources will run outside of a VPC",
|
|
5253
5173
|
"stability": "experimental",
|
|
5254
|
-
"summary": "
|
|
5174
|
+
"summary": "Resources that can run inside a VPC will follow the provided network configuration."
|
|
5255
5175
|
},
|
|
5256
5176
|
"immutable": true,
|
|
5257
5177
|
"locationInModule": {
|
|
5258
5178
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5259
|
-
"line":
|
|
5179
|
+
"line": 67
|
|
5260
5180
|
},
|
|
5261
|
-
"name": "
|
|
5181
|
+
"name": "network",
|
|
5262
5182
|
"optional": true,
|
|
5263
5183
|
"type": {
|
|
5264
|
-
"fqn": "
|
|
5184
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.Network"
|
|
5265
5185
|
}
|
|
5266
5186
|
},
|
|
5267
5187
|
{
|
|
@@ -5274,7 +5194,7 @@
|
|
|
5274
5194
|
"immutable": true,
|
|
5275
5195
|
"locationInModule": {
|
|
5276
5196
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5277
|
-
"line":
|
|
5197
|
+
"line": 50
|
|
5278
5198
|
},
|
|
5279
5199
|
"name": "removalPolicy",
|
|
5280
5200
|
"optional": true,
|
|
@@ -5292,7 +5212,7 @@
|
|
|
5292
5212
|
"immutable": true,
|
|
5293
5213
|
"locationInModule": {
|
|
5294
5214
|
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
5295
|
-
"line":
|
|
5215
|
+
"line": 45
|
|
5296
5216
|
},
|
|
5297
5217
|
"name": "workflowTimeout",
|
|
5298
5218
|
"optional": true,
|
|
@@ -5432,7 +5352,7 @@
|
|
|
5432
5352
|
},
|
|
5433
5353
|
"locationInModule": {
|
|
5434
5354
|
"filename": "use-cases/document-processing/bedrock-document-processing.ts",
|
|
5435
|
-
"line":
|
|
5355
|
+
"line": 346
|
|
5436
5356
|
},
|
|
5437
5357
|
"name": "enrichmentStep",
|
|
5438
5358
|
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.BaseDocumentProcessing",
|
|
@@ -5462,7 +5382,7 @@
|
|
|
5462
5382
|
},
|
|
5463
5383
|
"locationInModule": {
|
|
5464
5384
|
"filename": "use-cases/document-processing/bedrock-document-processing.ts",
|
|
5465
|
-
"line":
|
|
5385
|
+
"line": 312
|
|
5466
5386
|
},
|
|
5467
5387
|
"name": "generateLambdaRoleForBedrock",
|
|
5468
5388
|
"parameters": [
|
|
@@ -5495,7 +5415,7 @@
|
|
|
5495
5415
|
},
|
|
5496
5416
|
"locationInModule": {
|
|
5497
5417
|
"filename": "use-cases/document-processing/bedrock-document-processing.ts",
|
|
5498
|
-
"line":
|
|
5418
|
+
"line": 366
|
|
5499
5419
|
},
|
|
5500
5420
|
"name": "postProcessingStep",
|
|
5501
5421
|
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.BaseDocumentProcessing",
|
|
@@ -5528,7 +5448,7 @@
|
|
|
5528
5448
|
},
|
|
5529
5449
|
"locationInModule": {
|
|
5530
5450
|
"filename": "use-cases/document-processing/bedrock-document-processing.ts",
|
|
5531
|
-
"line":
|
|
5451
|
+
"line": 257
|
|
5532
5452
|
},
|
|
5533
5453
|
"name": "processingStep",
|
|
5534
5454
|
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.BaseDocumentProcessing",
|
|
@@ -6433,6 +6353,82 @@
|
|
|
6433
6353
|
"name": "DatabaseEngine",
|
|
6434
6354
|
"symbolId": "use-cases/utilities/data-loader:DatabaseEngine"
|
|
6435
6355
|
},
|
|
6356
|
+
"@cdklabs/cdk-appmod-catalog-blueprints.DefaultDocumentProcessingConfig": {
|
|
6357
|
+
"assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
|
|
6358
|
+
"docs": {
|
|
6359
|
+
"stability": "experimental"
|
|
6360
|
+
},
|
|
6361
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.DefaultDocumentProcessingConfig",
|
|
6362
|
+
"initializer": {
|
|
6363
|
+
"docs": {
|
|
6364
|
+
"stability": "experimental"
|
|
6365
|
+
}
|
|
6366
|
+
},
|
|
6367
|
+
"kind": "class",
|
|
6368
|
+
"locationInModule": {
|
|
6369
|
+
"filename": "use-cases/document-processing/default-document-processing-config.ts",
|
|
6370
|
+
"line": 4
|
|
6371
|
+
},
|
|
6372
|
+
"name": "DefaultDocumentProcessingConfig",
|
|
6373
|
+
"properties": [
|
|
6374
|
+
{
|
|
6375
|
+
"const": true,
|
|
6376
|
+
"docs": {
|
|
6377
|
+
"stability": "experimental"
|
|
6378
|
+
},
|
|
6379
|
+
"immutable": true,
|
|
6380
|
+
"locationInModule": {
|
|
6381
|
+
"filename": "use-cases/document-processing/default-document-processing-config.ts",
|
|
6382
|
+
"line": 5
|
|
6383
|
+
},
|
|
6384
|
+
"name": "DEFAULT_OBSERVABILITY_METRIC_SVC_NAME",
|
|
6385
|
+
"static": true,
|
|
6386
|
+
"type": {
|
|
6387
|
+
"primitive": "string"
|
|
6388
|
+
}
|
|
6389
|
+
}
|
|
6390
|
+
],
|
|
6391
|
+
"symbolId": "use-cases/document-processing/default-document-processing-config:DefaultDocumentProcessingConfig"
|
|
6392
|
+
},
|
|
6393
|
+
"@cdklabs/cdk-appmod-catalog-blueprints.DefaultObservabilityConfig": {
|
|
6394
|
+
"assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
|
|
6395
|
+
"docs": {
|
|
6396
|
+
"stability": "experimental",
|
|
6397
|
+
"summary": "Contains default constants for Observability related configuration."
|
|
6398
|
+
},
|
|
6399
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.DefaultObservabilityConfig",
|
|
6400
|
+
"initializer": {
|
|
6401
|
+
"docs": {
|
|
6402
|
+
"stability": "experimental"
|
|
6403
|
+
}
|
|
6404
|
+
},
|
|
6405
|
+
"kind": "class",
|
|
6406
|
+
"locationInModule": {
|
|
6407
|
+
"filename": "use-cases/utilities/observability/default-observability-config.ts",
|
|
6408
|
+
"line": 7
|
|
6409
|
+
},
|
|
6410
|
+
"name": "DefaultObservabilityConfig",
|
|
6411
|
+
"properties": [
|
|
6412
|
+
{
|
|
6413
|
+
"const": true,
|
|
6414
|
+
"docs": {
|
|
6415
|
+
"stability": "experimental",
|
|
6416
|
+
"summary": "Default namespace for powertools."
|
|
6417
|
+
},
|
|
6418
|
+
"immutable": true,
|
|
6419
|
+
"locationInModule": {
|
|
6420
|
+
"filename": "use-cases/utilities/observability/default-observability-config.ts",
|
|
6421
|
+
"line": 12
|
|
6422
|
+
},
|
|
6423
|
+
"name": "DEFAULT_METRIC_NAMESPACE",
|
|
6424
|
+
"static": true,
|
|
6425
|
+
"type": {
|
|
6426
|
+
"primitive": "string"
|
|
6427
|
+
}
|
|
6428
|
+
}
|
|
6429
|
+
],
|
|
6430
|
+
"symbolId": "use-cases/utilities/observability/default-observability-config:DefaultObservabilityConfig"
|
|
6431
|
+
},
|
|
6436
6432
|
"@cdklabs/cdk-appmod-catalog-blueprints.DefaultRuntimes": {
|
|
6437
6433
|
"assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
|
|
6438
6434
|
"docs": {
|
|
@@ -6523,45 +6519,6 @@
|
|
|
6523
6519
|
],
|
|
6524
6520
|
"symbolId": "use-cases/framework/custom-resource/default-runtimes:DefaultRuntimes"
|
|
6525
6521
|
},
|
|
6526
|
-
"@cdklabs/cdk-appmod-catalog-blueprints.DocumentProcessingPrefix": {
|
|
6527
|
-
"assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
|
|
6528
|
-
"docs": {
|
|
6529
|
-
"remarks": "Documents flow through these prefixes based on processing outcomes:\n- Upload → raw/ (triggers processing)\n- Success → processed/ (workflow completed successfully)\n- Failure → failed/ (workflow encountered errors)",
|
|
6530
|
-
"stability": "experimental",
|
|
6531
|
-
"summary": "S3 prefix constants for organizing documents throughout the processing lifecycle."
|
|
6532
|
-
},
|
|
6533
|
-
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.DocumentProcessingPrefix",
|
|
6534
|
-
"kind": "enum",
|
|
6535
|
-
"locationInModule": {
|
|
6536
|
-
"filename": "use-cases/document-processing/base-document-processing.ts",
|
|
6537
|
-
"line": 99
|
|
6538
|
-
},
|
|
6539
|
-
"members": [
|
|
6540
|
-
{
|
|
6541
|
-
"docs": {
|
|
6542
|
-
"stability": "experimental",
|
|
6543
|
-
"summary": "Prefix for newly uploaded documents awaiting processing."
|
|
6544
|
-
},
|
|
6545
|
-
"name": "RAW"
|
|
6546
|
-
},
|
|
6547
|
-
{
|
|
6548
|
-
"docs": {
|
|
6549
|
-
"stability": "experimental",
|
|
6550
|
-
"summary": "Prefix for documents that failed processing."
|
|
6551
|
-
},
|
|
6552
|
-
"name": "FAILED"
|
|
6553
|
-
},
|
|
6554
|
-
{
|
|
6555
|
-
"docs": {
|
|
6556
|
-
"stability": "experimental",
|
|
6557
|
-
"summary": "Prefix for successfully processed documents."
|
|
6558
|
-
},
|
|
6559
|
-
"name": "PROCESSED"
|
|
6560
|
-
}
|
|
6561
|
-
],
|
|
6562
|
-
"name": "DocumentProcessingPrefix",
|
|
6563
|
-
"symbolId": "use-cases/document-processing/base-document-processing:DocumentProcessingPrefix"
|
|
6564
|
-
},
|
|
6565
6522
|
"@cdklabs/cdk-appmod-catalog-blueprints.EventbridgeBroker": {
|
|
6566
6523
|
"assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
|
|
6567
6524
|
"base": "constructs.Construct",
|
|
@@ -7233,16 +7190,227 @@
|
|
|
7233
7190
|
],
|
|
7234
7191
|
"symbolId": "use-cases/webapp/frontend-construct:FrontendProps"
|
|
7235
7192
|
},
|
|
7236
|
-
"@cdklabs/cdk-appmod-catalog-blueprints.
|
|
7193
|
+
"@cdklabs/cdk-appmod-catalog-blueprints.IAdapter": {
|
|
7237
7194
|
"assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
|
|
7238
7195
|
"docs": {
|
|
7239
7196
|
"stability": "experimental",
|
|
7240
|
-
"summary": "
|
|
7197
|
+
"summary": "Abstraction to enable different types of source triggers for the intelligent document processing workflow."
|
|
7241
7198
|
},
|
|
7242
|
-
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.
|
|
7199
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.IAdapter",
|
|
7243
7200
|
"kind": "interface",
|
|
7244
7201
|
"locationInModule": {
|
|
7245
|
-
"filename": "use-cases/
|
|
7202
|
+
"filename": "use-cases/document-processing/adapter/adapter.ts",
|
|
7203
|
+
"line": 13
|
|
7204
|
+
},
|
|
7205
|
+
"methods": [
|
|
7206
|
+
{
|
|
7207
|
+
"abstract": true,
|
|
7208
|
+
"docs": {
|
|
7209
|
+
"returns": "Chain to be added to the state machine to handle failure scenarios",
|
|
7210
|
+
"stability": "experimental",
|
|
7211
|
+
"summary": "Create the adapter specific handler for failed processing."
|
|
7212
|
+
},
|
|
7213
|
+
"locationInModule": {
|
|
7214
|
+
"filename": "use-cases/document-processing/adapter/adapter.ts",
|
|
7215
|
+
"line": 47
|
|
7216
|
+
},
|
|
7217
|
+
"name": "createFailedChain",
|
|
7218
|
+
"parameters": [
|
|
7219
|
+
{
|
|
7220
|
+
"docs": {
|
|
7221
|
+
"summary": "Scope to use in relation to the CDK hierarchy."
|
|
7222
|
+
},
|
|
7223
|
+
"name": "scope",
|
|
7224
|
+
"type": {
|
|
7225
|
+
"fqn": "constructs.Construct"
|
|
7226
|
+
}
|
|
7227
|
+
}
|
|
7228
|
+
],
|
|
7229
|
+
"returns": {
|
|
7230
|
+
"type": {
|
|
7231
|
+
"fqn": "aws-cdk-lib.aws_stepfunctions.Chain"
|
|
7232
|
+
}
|
|
7233
|
+
}
|
|
7234
|
+
},
|
|
7235
|
+
{
|
|
7236
|
+
"abstract": true,
|
|
7237
|
+
"docs": {
|
|
7238
|
+
"remarks": "Important: resource created should trigger the state machine",
|
|
7239
|
+
"returns": "Resources that are created",
|
|
7240
|
+
"stability": "experimental",
|
|
7241
|
+
"summary": "Create resources that would receive the data and trigger the workflow."
|
|
7242
|
+
},
|
|
7243
|
+
"locationInModule": {
|
|
7244
|
+
"filename": "use-cases/document-processing/adapter/adapter.ts",
|
|
7245
|
+
"line": 30
|
|
7246
|
+
},
|
|
7247
|
+
"name": "createIngressTrigger",
|
|
7248
|
+
"parameters": [
|
|
7249
|
+
{
|
|
7250
|
+
"docs": {
|
|
7251
|
+
"summary": "Scope to use in relation to the CDK hierarchy."
|
|
7252
|
+
},
|
|
7253
|
+
"name": "scope",
|
|
7254
|
+
"type": {
|
|
7255
|
+
"fqn": "constructs.Construct"
|
|
7256
|
+
}
|
|
7257
|
+
},
|
|
7258
|
+
{
|
|
7259
|
+
"docs": {
|
|
7260
|
+
"summary": "The workflow of the document processor."
|
|
7261
|
+
},
|
|
7262
|
+
"name": "stateMachine",
|
|
7263
|
+
"type": {
|
|
7264
|
+
"fqn": "aws-cdk-lib.aws_stepfunctions.StateMachine"
|
|
7265
|
+
}
|
|
7266
|
+
},
|
|
7267
|
+
{
|
|
7268
|
+
"docs": {
|
|
7269
|
+
"summary": "The parameters passed to the document processing L3 Construct."
|
|
7270
|
+
},
|
|
7271
|
+
"name": "props",
|
|
7272
|
+
"type": {
|
|
7273
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.BaseDocumentProcessingProps"
|
|
7274
|
+
}
|
|
7275
|
+
}
|
|
7276
|
+
],
|
|
7277
|
+
"returns": {
|
|
7278
|
+
"type": {
|
|
7279
|
+
"collection": {
|
|
7280
|
+
"elementtype": {
|
|
7281
|
+
"primitive": "any"
|
|
7282
|
+
},
|
|
7283
|
+
"kind": "map"
|
|
7284
|
+
}
|
|
7285
|
+
}
|
|
7286
|
+
}
|
|
7287
|
+
},
|
|
7288
|
+
{
|
|
7289
|
+
"abstract": true,
|
|
7290
|
+
"docs": {
|
|
7291
|
+
"returns": "Chain to be added to the state machine to handle successful scenarios",
|
|
7292
|
+
"stability": "experimental",
|
|
7293
|
+
"summary": "Create the adapter specific handler for successful processing."
|
|
7294
|
+
},
|
|
7295
|
+
"locationInModule": {
|
|
7296
|
+
"filename": "use-cases/document-processing/adapter/adapter.ts",
|
|
7297
|
+
"line": 54
|
|
7298
|
+
},
|
|
7299
|
+
"name": "createSuccessChain",
|
|
7300
|
+
"parameters": [
|
|
7301
|
+
{
|
|
7302
|
+
"docs": {
|
|
7303
|
+
"summary": "Scope to use in relation to the CDK hierarchy."
|
|
7304
|
+
},
|
|
7305
|
+
"name": "scope",
|
|
7306
|
+
"type": {
|
|
7307
|
+
"fqn": "constructs.Construct"
|
|
7308
|
+
}
|
|
7309
|
+
}
|
|
7310
|
+
],
|
|
7311
|
+
"returns": {
|
|
7312
|
+
"type": {
|
|
7313
|
+
"fqn": "aws-cdk-lib.aws_stepfunctions.Chain"
|
|
7314
|
+
}
|
|
7315
|
+
}
|
|
7316
|
+
},
|
|
7317
|
+
{
|
|
7318
|
+
"abstract": true,
|
|
7319
|
+
"docs": {
|
|
7320
|
+
"default": "false",
|
|
7321
|
+
"returns": "PolicyStatement[] IAM policy statements that would included in the state machine IAM role",
|
|
7322
|
+
"stability": "experimental",
|
|
7323
|
+
"summary": "Generate IAM statements that can be used by other resources to access the storage."
|
|
7324
|
+
},
|
|
7325
|
+
"locationInModule": {
|
|
7326
|
+
"filename": "use-cases/document-processing/adapter/adapter.ts",
|
|
7327
|
+
"line": 40
|
|
7328
|
+
},
|
|
7329
|
+
"name": "generateAdapterIAMPolicies",
|
|
7330
|
+
"parameters": [
|
|
7331
|
+
{
|
|
7332
|
+
"docs": {
|
|
7333
|
+
"summary": "(Optional) list of additional actions in relation to the underlying storage for the adapter."
|
|
7334
|
+
},
|
|
7335
|
+
"name": "additionalIAMActions",
|
|
7336
|
+
"optional": true,
|
|
7337
|
+
"type": {
|
|
7338
|
+
"collection": {
|
|
7339
|
+
"elementtype": {
|
|
7340
|
+
"primitive": "string"
|
|
7341
|
+
},
|
|
7342
|
+
"kind": "array"
|
|
7343
|
+
}
|
|
7344
|
+
}
|
|
7345
|
+
},
|
|
7346
|
+
{
|
|
7347
|
+
"docs": {
|
|
7348
|
+
"summary": "(Optional) whether the resulting permissions would only be the IAM actions indicated in the `additionalIAMActions` parameter."
|
|
7349
|
+
},
|
|
7350
|
+
"name": "narrowActions",
|
|
7351
|
+
"optional": true,
|
|
7352
|
+
"type": {
|
|
7353
|
+
"primitive": "boolean"
|
|
7354
|
+
}
|
|
7355
|
+
}
|
|
7356
|
+
],
|
|
7357
|
+
"returns": {
|
|
7358
|
+
"type": {
|
|
7359
|
+
"collection": {
|
|
7360
|
+
"elementtype": {
|
|
7361
|
+
"fqn": "aws-cdk-lib.aws_iam.PolicyStatement"
|
|
7362
|
+
},
|
|
7363
|
+
"kind": "array"
|
|
7364
|
+
}
|
|
7365
|
+
}
|
|
7366
|
+
}
|
|
7367
|
+
},
|
|
7368
|
+
{
|
|
7369
|
+
"abstract": true,
|
|
7370
|
+
"docs": {
|
|
7371
|
+
"stability": "experimental",
|
|
7372
|
+
"summary": "Initializes the adapter."
|
|
7373
|
+
},
|
|
7374
|
+
"locationInModule": {
|
|
7375
|
+
"filename": "use-cases/document-processing/adapter/adapter.ts",
|
|
7376
|
+
"line": 19
|
|
7377
|
+
},
|
|
7378
|
+
"name": "init",
|
|
7379
|
+
"parameters": [
|
|
7380
|
+
{
|
|
7381
|
+
"docs": {
|
|
7382
|
+
"summary": "Scope to use in relation to the CDK hierarchy."
|
|
7383
|
+
},
|
|
7384
|
+
"name": "scope",
|
|
7385
|
+
"type": {
|
|
7386
|
+
"fqn": "constructs.Construct"
|
|
7387
|
+
}
|
|
7388
|
+
},
|
|
7389
|
+
{
|
|
7390
|
+
"docs": {
|
|
7391
|
+
"summary": "The parameters passed to the document processing L3 Construct."
|
|
7392
|
+
},
|
|
7393
|
+
"name": "props",
|
|
7394
|
+
"type": {
|
|
7395
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.BaseDocumentProcessingProps"
|
|
7396
|
+
}
|
|
7397
|
+
}
|
|
7398
|
+
]
|
|
7399
|
+
}
|
|
7400
|
+
],
|
|
7401
|
+
"name": "IAdapter",
|
|
7402
|
+
"symbolId": "use-cases/document-processing/adapter/adapter:IAdapter"
|
|
7403
|
+
},
|
|
7404
|
+
"@cdklabs/cdk-appmod-catalog-blueprints.IObservable": {
|
|
7405
|
+
"assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
|
|
7406
|
+
"docs": {
|
|
7407
|
+
"stability": "experimental",
|
|
7408
|
+
"summary": "Interface providing configuration parameters for constructs that support Observability."
|
|
7409
|
+
},
|
|
7410
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.IObservable",
|
|
7411
|
+
"kind": "interface",
|
|
7412
|
+
"locationInModule": {
|
|
7413
|
+
"filename": "use-cases/utilities/observability/observable.ts",
|
|
7246
7414
|
"line": 33
|
|
7247
7415
|
},
|
|
7248
7416
|
"methods": [
|
|
@@ -8615,6 +8783,335 @@
|
|
|
8615
8783
|
"name": "PowertoolsConfig",
|
|
8616
8784
|
"symbolId": "use-cases/utilities/observability/powertools-config:PowertoolsConfig"
|
|
8617
8785
|
},
|
|
8786
|
+
"@cdklabs/cdk-appmod-catalog-blueprints.QueuedS3Adapter": {
|
|
8787
|
+
"assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
|
|
8788
|
+
"docs": {
|
|
8789
|
+
"stability": "experimental",
|
|
8790
|
+
"summary": "This adapter allows the intelligent document processing workflow to be triggered by files that are uploaded into a S3 Bucket."
|
|
8791
|
+
},
|
|
8792
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.QueuedS3Adapter",
|
|
8793
|
+
"initializer": {
|
|
8794
|
+
"docs": {
|
|
8795
|
+
"stability": "experimental"
|
|
8796
|
+
},
|
|
8797
|
+
"locationInModule": {
|
|
8798
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
8799
|
+
"line": 91
|
|
8800
|
+
},
|
|
8801
|
+
"parameters": [
|
|
8802
|
+
{
|
|
8803
|
+
"name": "adapterProps",
|
|
8804
|
+
"optional": true,
|
|
8805
|
+
"type": {
|
|
8806
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.QueuedS3AdapterProps"
|
|
8807
|
+
}
|
|
8808
|
+
}
|
|
8809
|
+
]
|
|
8810
|
+
},
|
|
8811
|
+
"interfaces": [
|
|
8812
|
+
"@cdklabs/cdk-appmod-catalog-blueprints.IAdapter"
|
|
8813
|
+
],
|
|
8814
|
+
"kind": "class",
|
|
8815
|
+
"locationInModule": {
|
|
8816
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
8817
|
+
"line": 86
|
|
8818
|
+
},
|
|
8819
|
+
"methods": [
|
|
8820
|
+
{
|
|
8821
|
+
"docs": {
|
|
8822
|
+
"stability": "experimental",
|
|
8823
|
+
"summary": "Create the adapter specific handler for failed processing."
|
|
8824
|
+
},
|
|
8825
|
+
"locationInModule": {
|
|
8826
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
8827
|
+
"line": 272
|
|
8828
|
+
},
|
|
8829
|
+
"name": "createFailedChain",
|
|
8830
|
+
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IAdapter",
|
|
8831
|
+
"parameters": [
|
|
8832
|
+
{
|
|
8833
|
+
"name": "scope",
|
|
8834
|
+
"type": {
|
|
8835
|
+
"fqn": "constructs.Construct"
|
|
8836
|
+
}
|
|
8837
|
+
}
|
|
8838
|
+
],
|
|
8839
|
+
"returns": {
|
|
8840
|
+
"type": {
|
|
8841
|
+
"fqn": "aws-cdk-lib.aws_stepfunctions.Chain"
|
|
8842
|
+
}
|
|
8843
|
+
}
|
|
8844
|
+
},
|
|
8845
|
+
{
|
|
8846
|
+
"docs": {
|
|
8847
|
+
"remarks": "Important: resource created should trigger the state machine",
|
|
8848
|
+
"stability": "experimental",
|
|
8849
|
+
"summary": "Create resources that would receive the data and trigger the workflow."
|
|
8850
|
+
},
|
|
8851
|
+
"locationInModule": {
|
|
8852
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
8853
|
+
"line": 148
|
|
8854
|
+
},
|
|
8855
|
+
"name": "createIngressTrigger",
|
|
8856
|
+
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IAdapter",
|
|
8857
|
+
"parameters": [
|
|
8858
|
+
{
|
|
8859
|
+
"name": "scope",
|
|
8860
|
+
"type": {
|
|
8861
|
+
"fqn": "constructs.Construct"
|
|
8862
|
+
}
|
|
8863
|
+
},
|
|
8864
|
+
{
|
|
8865
|
+
"name": "stateMachine",
|
|
8866
|
+
"type": {
|
|
8867
|
+
"fqn": "aws-cdk-lib.aws_stepfunctions.StateMachine"
|
|
8868
|
+
}
|
|
8869
|
+
},
|
|
8870
|
+
{
|
|
8871
|
+
"name": "props",
|
|
8872
|
+
"type": {
|
|
8873
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.BaseDocumentProcessingProps"
|
|
8874
|
+
}
|
|
8875
|
+
}
|
|
8876
|
+
],
|
|
8877
|
+
"returns": {
|
|
8878
|
+
"type": {
|
|
8879
|
+
"collection": {
|
|
8880
|
+
"elementtype": {
|
|
8881
|
+
"primitive": "any"
|
|
8882
|
+
},
|
|
8883
|
+
"kind": "map"
|
|
8884
|
+
}
|
|
8885
|
+
}
|
|
8886
|
+
}
|
|
8887
|
+
},
|
|
8888
|
+
{
|
|
8889
|
+
"docs": {
|
|
8890
|
+
"stability": "experimental",
|
|
8891
|
+
"summary": "Create the adapter specific handler for successful processing."
|
|
8892
|
+
},
|
|
8893
|
+
"locationInModule": {
|
|
8894
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
8895
|
+
"line": 301
|
|
8896
|
+
},
|
|
8897
|
+
"name": "createSuccessChain",
|
|
8898
|
+
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IAdapter",
|
|
8899
|
+
"parameters": [
|
|
8900
|
+
{
|
|
8901
|
+
"name": "scope",
|
|
8902
|
+
"type": {
|
|
8903
|
+
"fqn": "constructs.Construct"
|
|
8904
|
+
}
|
|
8905
|
+
}
|
|
8906
|
+
],
|
|
8907
|
+
"returns": {
|
|
8908
|
+
"type": {
|
|
8909
|
+
"fqn": "aws-cdk-lib.aws_stepfunctions.Chain"
|
|
8910
|
+
}
|
|
8911
|
+
}
|
|
8912
|
+
},
|
|
8913
|
+
{
|
|
8914
|
+
"docs": {
|
|
8915
|
+
"stability": "experimental",
|
|
8916
|
+
"summary": "Generate IAM statements that can be used by other resources to access the storage."
|
|
8917
|
+
},
|
|
8918
|
+
"locationInModule": {
|
|
8919
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
8920
|
+
"line": 235
|
|
8921
|
+
},
|
|
8922
|
+
"name": "generateAdapterIAMPolicies",
|
|
8923
|
+
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IAdapter",
|
|
8924
|
+
"parameters": [
|
|
8925
|
+
{
|
|
8926
|
+
"name": "additionalIAMActions",
|
|
8927
|
+
"optional": true,
|
|
8928
|
+
"type": {
|
|
8929
|
+
"collection": {
|
|
8930
|
+
"elementtype": {
|
|
8931
|
+
"primitive": "string"
|
|
8932
|
+
},
|
|
8933
|
+
"kind": "array"
|
|
8934
|
+
}
|
|
8935
|
+
}
|
|
8936
|
+
},
|
|
8937
|
+
{
|
|
8938
|
+
"name": "narrowActions",
|
|
8939
|
+
"optional": true,
|
|
8940
|
+
"type": {
|
|
8941
|
+
"primitive": "boolean"
|
|
8942
|
+
}
|
|
8943
|
+
}
|
|
8944
|
+
],
|
|
8945
|
+
"returns": {
|
|
8946
|
+
"type": {
|
|
8947
|
+
"collection": {
|
|
8948
|
+
"elementtype": {
|
|
8949
|
+
"fqn": "aws-cdk-lib.aws_iam.PolicyStatement"
|
|
8950
|
+
},
|
|
8951
|
+
"kind": "array"
|
|
8952
|
+
}
|
|
8953
|
+
}
|
|
8954
|
+
}
|
|
8955
|
+
},
|
|
8956
|
+
{
|
|
8957
|
+
"docs": {
|
|
8958
|
+
"stability": "experimental",
|
|
8959
|
+
"summary": "Initializes the adapter."
|
|
8960
|
+
},
|
|
8961
|
+
"locationInModule": {
|
|
8962
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
8963
|
+
"line": 101
|
|
8964
|
+
},
|
|
8965
|
+
"name": "init",
|
|
8966
|
+
"overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IAdapter",
|
|
8967
|
+
"parameters": [
|
|
8968
|
+
{
|
|
8969
|
+
"name": "scope",
|
|
8970
|
+
"type": {
|
|
8971
|
+
"fqn": "constructs.Construct"
|
|
8972
|
+
}
|
|
8973
|
+
},
|
|
8974
|
+
{
|
|
8975
|
+
"name": "props",
|
|
8976
|
+
"type": {
|
|
8977
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.BaseDocumentProcessingProps"
|
|
8978
|
+
}
|
|
8979
|
+
}
|
|
8980
|
+
]
|
|
8981
|
+
}
|
|
8982
|
+
],
|
|
8983
|
+
"name": "QueuedS3Adapter",
|
|
8984
|
+
"symbolId": "use-cases/document-processing/adapter/queued-s3-adapter:QueuedS3Adapter"
|
|
8985
|
+
},
|
|
8986
|
+
"@cdklabs/cdk-appmod-catalog-blueprints.QueuedS3AdapterProps": {
|
|
8987
|
+
"assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
|
|
8988
|
+
"datatype": true,
|
|
8989
|
+
"docs": {
|
|
8990
|
+
"stability": "experimental",
|
|
8991
|
+
"summary": "Props for the Queued S3 Adapter."
|
|
8992
|
+
},
|
|
8993
|
+
"fqn": "@cdklabs/cdk-appmod-catalog-blueprints.QueuedS3AdapterProps",
|
|
8994
|
+
"kind": "interface",
|
|
8995
|
+
"locationInModule": {
|
|
8996
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
8997
|
+
"line": 36
|
|
8998
|
+
},
|
|
8999
|
+
"name": "QueuedS3AdapterProps",
|
|
9000
|
+
"properties": [
|
|
9001
|
+
{
|
|
9002
|
+
"abstract": true,
|
|
9003
|
+
"docs": {
|
|
9004
|
+
"default": "create a new bucket",
|
|
9005
|
+
"remarks": "If not provided, a new bucket will be created with auto-delete enabled based on removalPolicy.",
|
|
9006
|
+
"stability": "experimental",
|
|
9007
|
+
"summary": "S3 bucket for document storage with organized prefixes (raw/, processed/, failed/)."
|
|
9008
|
+
},
|
|
9009
|
+
"immutable": true,
|
|
9010
|
+
"locationInModule": {
|
|
9011
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
9012
|
+
"line": 43
|
|
9013
|
+
},
|
|
9014
|
+
"name": "bucket",
|
|
9015
|
+
"optional": true,
|
|
9016
|
+
"type": {
|
|
9017
|
+
"fqn": "aws-cdk-lib.aws_s3.Bucket"
|
|
9018
|
+
}
|
|
9019
|
+
},
|
|
9020
|
+
{
|
|
9021
|
+
"abstract": true,
|
|
9022
|
+
"docs": {
|
|
9023
|
+
"default": "5",
|
|
9024
|
+
"stability": "experimental",
|
|
9025
|
+
"summary": "The number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue."
|
|
9026
|
+
},
|
|
9027
|
+
"immutable": true,
|
|
9028
|
+
"locationInModule": {
|
|
9029
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
9030
|
+
"line": 79
|
|
9031
|
+
},
|
|
9032
|
+
"name": "dlqMaxReceiveCount",
|
|
9033
|
+
"optional": true,
|
|
9034
|
+
"type": {
|
|
9035
|
+
"primitive": "number"
|
|
9036
|
+
}
|
|
9037
|
+
},
|
|
9038
|
+
{
|
|
9039
|
+
"abstract": true,
|
|
9040
|
+
"docs": {
|
|
9041
|
+
"default": "\"failed/\"",
|
|
9042
|
+
"stability": "experimental",
|
|
9043
|
+
"summary": "S3 prefix where the files that failed processing would be stored."
|
|
9044
|
+
},
|
|
9045
|
+
"immutable": true,
|
|
9046
|
+
"locationInModule": {
|
|
9047
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
9048
|
+
"line": 65
|
|
9049
|
+
},
|
|
9050
|
+
"name": "failedPrefix",
|
|
9051
|
+
"optional": true,
|
|
9052
|
+
"type": {
|
|
9053
|
+
"primitive": "string"
|
|
9054
|
+
}
|
|
9055
|
+
},
|
|
9056
|
+
{
|
|
9057
|
+
"abstract": true,
|
|
9058
|
+
"docs": {
|
|
9059
|
+
"default": "\"processed/\"",
|
|
9060
|
+
"stability": "experimental",
|
|
9061
|
+
"summary": "S3 prefix where the processed files would be stored."
|
|
9062
|
+
},
|
|
9063
|
+
"immutable": true,
|
|
9064
|
+
"locationInModule": {
|
|
9065
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
9066
|
+
"line": 58
|
|
9067
|
+
},
|
|
9068
|
+
"name": "processedPrefix",
|
|
9069
|
+
"optional": true,
|
|
9070
|
+
"type": {
|
|
9071
|
+
"primitive": "string"
|
|
9072
|
+
}
|
|
9073
|
+
},
|
|
9074
|
+
{
|
|
9075
|
+
"abstract": true,
|
|
9076
|
+
"docs": {
|
|
9077
|
+
"default": "Duration.seconds(300)",
|
|
9078
|
+
"remarks": "Should be longer than expected processing time to prevent duplicate processing.",
|
|
9079
|
+
"stability": "experimental",
|
|
9080
|
+
"summary": "SQS queue visibility timeout for processing messages."
|
|
9081
|
+
},
|
|
9082
|
+
"immutable": true,
|
|
9083
|
+
"locationInModule": {
|
|
9084
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
9085
|
+
"line": 72
|
|
9086
|
+
},
|
|
9087
|
+
"name": "queueVisibilityTimeout",
|
|
9088
|
+
"optional": true,
|
|
9089
|
+
"type": {
|
|
9090
|
+
"fqn": "aws-cdk-lib.Duration"
|
|
9091
|
+
}
|
|
9092
|
+
},
|
|
9093
|
+
{
|
|
9094
|
+
"abstract": true,
|
|
9095
|
+
"docs": {
|
|
9096
|
+
"default": "\"raw/\"",
|
|
9097
|
+
"remarks": "This serves as the trigger point for processing",
|
|
9098
|
+
"stability": "experimental",
|
|
9099
|
+
"summary": "S3 prefix where the raw files would be stored."
|
|
9100
|
+
},
|
|
9101
|
+
"immutable": true,
|
|
9102
|
+
"locationInModule": {
|
|
9103
|
+
"filename": "use-cases/document-processing/adapter/queued-s3-adapter.ts",
|
|
9104
|
+
"line": 51
|
|
9105
|
+
},
|
|
9106
|
+
"name": "rawPrefix",
|
|
9107
|
+
"optional": true,
|
|
9108
|
+
"type": {
|
|
9109
|
+
"primitive": "string"
|
|
9110
|
+
}
|
|
9111
|
+
}
|
|
9112
|
+
],
|
|
9113
|
+
"symbolId": "use-cases/document-processing/adapter/queued-s3-adapter:QueuedS3AdapterProps"
|
|
9114
|
+
},
|
|
8618
9115
|
"@cdklabs/cdk-appmod-catalog-blueprints.StateMachineObservabilityPropertyInjector": {
|
|
8619
9116
|
"assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
|
|
8620
9117
|
"docs": {
|
|
@@ -8715,6 +9212,6 @@
|
|
|
8715
9212
|
"symbolId": "use-cases/utilities/observability/state-machine-observability-property-injector:StateMachineObservabilityPropertyInjector"
|
|
8716
9213
|
}
|
|
8717
9214
|
},
|
|
8718
|
-
"version": "1.0
|
|
8719
|
-
"fingerprint": "
|
|
9215
|
+
"version": "1.1.0",
|
|
9216
|
+
"fingerprint": "zfqS1n+LPURp+7keFQkZ+63D7NpsC6whGHVNGTWOIds="
|
|
8720
9217
|
}
|