Add Search API with OpenSearch Domain and VPC Resources#1219
Merged
isabeleliassen merged 137 commits intocsg-org:mainfrom Dec 29, 2025
Merged
Add Search API with OpenSearch Domain and VPC Resources#1219isabeleliassen merged 137 commits intocsg-org:mainfrom
isabeleliassen merged 137 commits intocsg-org:mainfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To support improved search capability, this project will be leveraging AWS OpenSearch Service. Provider data from our DynamoDB table will be indexed within an OpenSearch Domain (Cluster), which will then be queryable by staff users through the Compact Connect UI. The OpenSearch resources will be deployed within a Virtual Private Cloud (VPC) to provide a layer of network security. This PR adds a new VPC CDK stack which deploys the VPC and the necessary subnets, VPC endpoints (to allow lambdas to log to CloudWatch and query DynamoDB), and security groups which will be used by the OpenSearch domain and lambdas.
It also adds a SearchPersistentStack which holds the OpenSearch domain, associated lambda resources, and event bridge pipeline for ingesting record updates from DynamoDB into the OpenSearch domain.
Finally, it adds a new SearchAPIStack which holds a new API Gateway instance to allow the frontend to query the OpenSearch domain with authentication and security controls in place.
For more information about the search functionality, review the README documentation updates.
Requirements List
Description List
Closes #1206 #1207 #1208 #1209 #1210
Summary by CodeRabbit
New Features
Documentation
Tests
Chores
✏️ Tip: You can customize this high-level summary in your review settings.