Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ source/ui/public/pdf.worker.min.mjs
.viperlightrc

.temp_redpencil
bom.json
bom.json
.kiro
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.2.0] - 2025-09-11

### Security

- Upgraded netty to `4.2.126`

### Changed

- Removed use of AWS Service Catalog AppRegistry

## [1.1.18] - 2025-08-21

### Security
Expand Down
16 changes: 2 additions & 14 deletions source/infrastructure/bin/dus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
LambdaRuntimeResourceObserver,
S3WebResourceObserver
} from '../lib/govcloud/cfn-resource-observer';
import { AppRegistry } from '../lib/utils/app-registry-aspects';

import { AwsDeploymentPartitionAspects } from '../lib/utils/aws-deployment-partition-aspects';
import { LambdaAspects } from '../lib/utils/lambda-aspect';

Expand All @@ -27,8 +27,7 @@ const solutionID = process.env.SOLUTION_ID ?? app.node.tryGetContext('solution_i
const version = process.env.VERSION ?? app.node.tryGetContext('solution_version');
const solutionName = process.env.SOLUTION_NAME ?? app.node.tryGetContext('solution_name');
const namespace = process.env.APP_NAMESPACE ?? app.node.tryGetContext('app_namespace');
const applicationType = app.node.tryGetContext('application_type');
const applicationName = app.node.tryGetContext('app_registry_name');

const applicationTrademarkName = app.node.tryGetContext('application_trademark_name');

const dus = new DusStack(app, 'DocUnderstanding', {
Expand All @@ -46,17 +45,6 @@ const dus = new DusStack(app, 'DocUnderstanding', {
// adding cdk-nag checks
cdk.Aspects.of(app).add(new AwsSolutionsChecks());

// adding app registry
cdk.Aspects.of(app).add(
new AppRegistry(dus, 'AppRegistry', {
solutionID: solutionID,
solutionVersion: version,
solutionName: solutionName,
applicationType: applicationType,
applicationName: applicationName
})
);

// adding lambda layer to all lambda functions for injecting user-agent for SDK calls to AWS services.
cdk.Aspects.of(app).add(
new LambdaAspects(dus, 'AspectInject', {
Expand Down
5 changes: 2 additions & 3 deletions source/infrastructure/cdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,9 @@
"@aws-cdk/aws-codepipeline-actions:useNewDefaultBranchForCodeCommitSource": true,
"solution_id": "SO0281",
"solution_name": "enhanced-document-understanding-on-aws",
"solution_version": "v1.1.18",
"solution_version": "v1.2.0",
"app_namespace": "app.idp",
"app_registry_name": "enhanced-document-understanding",
"application_type": "AWS-Solutions",

"application_trademark_name": "Enhanced Document Understanding on AWS"
}
}
16 changes: 2 additions & 14 deletions source/infrastructure/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions source/infrastructure/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enhanced-document-understanding-on-aws-infrastructure",
"version": "1.1.18",
"version": "1.2.0",
"bin": {
"infrastructure": "bin/dus.js"
},
Expand Down Expand Up @@ -36,7 +36,6 @@
"typescript": "^5.4.5"
},
"dependencies": {
"@aws-cdk/aws-servicecatalogappregistry-alpha": "2.140.0-alpha.0",
"@aws-solutions-constructs/aws-apigateway-lambda": "^2.56.0",
"@aws-solutions-constructs/aws-cloudfront-s3": "^2.56.0",
"@aws-solutions-constructs/aws-eventbridge-lambda": "^2.56.0",
Expand All @@ -62,9 +61,6 @@
"uuid": "^9.0.1"
},
"overrides": {
"@aws-sdk/client-sts": {
"fast-xml-parser": "^4.4.1"
},
"cross-spawn": "^7.0.5"
},
"exclude": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>example</groupId>
<artifactId>java-lambda</artifactId>
<version>1.1.18</version>
<version>1.2.0</version>

<name>mock-java-lambda</name>

Expand All @@ -20,7 +20,7 @@
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.32.26</version>
<version>2.33.5</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -31,12 +31,10 @@
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>s3</artifactId>
<version>2.32.26</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>dynamodb</artifactId>
<version>2.32.26</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-lambda",
"version": "1.1.18",
"version": "1.2.0",
"description": "A mock lambda implementation for CDK infrastructure unit",
"main": "index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
[tool.poetry]
name = "mock-python-lambda"
version = "1.1.18"
authors = [ "Amazon Web Services" ]
version = "1.2.0"
authors = ["Amazon Web Services"]
description = "Mock function for infra testing"
packages = [
{ include = "*.toml" },
{ include = "*.lock" },
]
packages = [{ include = "*.toml" }, { include = "*.lock" }]

[tool.poetry.dependencies]
python = "^3.11"

[build-system]
requires = [ "poetry-core>=1.9.0" ]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
4 changes: 2 additions & 2 deletions source/infrastructure/test/mock-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/infrastructure/test/mock-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mock-react-app",
"version": "1.1.18",
"version": "1.2.0",
"description": "Mock Reactjs app used for unit testing constructs",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/lambda/create-presigned-url/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/lambda/create-presigned-url/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-presigned-url",
"version": "1.1.18",
"version": "1.2.0",
"description": "This lambda has minimal permissions required to create downloadable presigned URLs for documents.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion source/lambda/custom-resource/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "custom-resource"
version = "1.1.18"
version = "1.2.0"
authors = [ "Amazon Web Services" ]
description = "Perform specific operations triggered by AWS CloudFormation events"
packages = [
Expand Down
4 changes: 2 additions & 2 deletions source/lambda/entity-detection/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/lambda/entity-detection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "entity-detection",
"version": "1.1.18",
"version": "1.2.0",
"description": "This lambda function detects entities within Text",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/lambda/fetch-records/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/lambda/fetch-records/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fetch-records",
"version": "1.1.18",
"version": "1.2.0",
"description": "This lambda backs the ApiGateway REST endpoint to process record and document fetch requests",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/lambda/get-inferences/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/lambda/get-inferences/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "get-inferences",
"version": "1.1.18",
"version": "1.2.0",
"description": "This lambda function is used to get inference results by backing the rest-endpoints",
"main": "index.js",
"scripts": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-nodesdk-custom-config",
"version": "1.1.18",
"version": "1.2.0",
"description": "AWS Nodejs SDK Config intialization layer",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/lambda/layers/aws-sdk-lib/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/lambda/layers/aws-sdk-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-sdk-layer",
"version": "1.1.18",
"version": "1.2.0",
"description": "AWS Nodejs SDK layer",
"dependencies": {
"aws-sdk": "^2.1613.0"
Expand Down
2 changes: 1 addition & 1 deletion source/lambda/layers/aws_boto3/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "boto3-layer"
version = "1.1.18"
version = "1.2.0"
authors = [ "Amazon Web Services" ]
description = "Layer for AWS Boto3 python SDK"
packages = [
Expand Down
Loading