eventbridge-pipes-bedrock-enrichment-cdk: AI enrichment via EventBridge Pipes#3230
Open
NithinChandranR-AWS wants to merge 1 commit into
Conversation
First pattern combining Amazon EventBridge Pipes with Amazon Bedrock. Messages from Amazon SQS are enriched in-flight by AWS Lambda calling Amazon Bedrock (Claude Sonnet 4.6) for sentiment classification, entity extraction, and summarization before writing to Amazon DynamoDB. 5 services composed. 48+ Pipes patterns exist in repo — none use AI/ML enrichment. Novel composition with real use cases: customer feedback analysis, ticket classification, log enrichment.
8b12200 to
84b1282
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Description
Enrich messages in-flight with AI classification and entity extraction using Amazon EventBridge Pipes and Amazon Bedrock.
Key Innovation
48+ EventBridge Pipes patterns exist in this repo — none use AI/ML enrichment. This is the first pattern combining Pipes with Amazon Bedrock, enabling real-time AI processing in any event pipeline without changing source or target configurations.
Architecture
Amazon SQS → Amazon EventBridge Pipe (enrichment: AWS Lambda → Amazon Bedrock Claude Sonnet 4.6) → Amazon DynamoDB
The enrichment step classifies sentiment (POSITIVE/NEGATIVE/NEUTRAL/MIXED), extracts named entities, and generates a one-line summary — all in-flight before the message reaches the target.
Use Cases