[{"data":1,"prerenderedAt":85},["ShallowReactive",2],{"pattern-eventbridge-pipes-bedrock-enrichment-cdk":3,"pattern-group-eventbridge-pipes-bedrock-enrichment-cdk":84},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":32,"level":33,"meta":34,"patternArch":36,"patternGroup":6,"patternGroupLabel":6,"resources":68,"s3URL":6,"services":6,"stem":76,"testing":77,"videoId":6,"__hash__":83},"patterns\u002Fpatterns\u002Feventbridge-pipes-bedrock-enrichment-cdk.json","Amazon EventBridge Pipes with Amazon Bedrock AI Enrichment",null,{"text":8},[9],"\u003Ccode>npx cdk destroy\u003C\u002Fcode>",[11],"content\u002Fcontributors\u002Fnithin-chandran-r.json",{"text":13},[14,15,16],"\u003Ccode>cd eventbridge-pipes-bedrock-enrichment-cdk\u002Fcdk\u003C\u002Fcode>","\u003Ccode>npm install\u003C\u002Fcode>","\u003Ccode>npx cdk deploy\u003C\u002Fcode>","Enrich messages in-flight with AI classification and entity extraction using Amazon EventBridge Pipes and Amazon Bedrock","json","AWS CDK",{"template":21},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-pipes-bedrock-enrichment-cdk","serverless-patterns\u002Feventbridge-pipes-bedrock-enrichment-cdk","eventbridge-pipes-bedrock-enrichment-cdk","cdk\u002Flib\u002Feventbridge-pipes-bedrock-enrichment-stack.ts",{"headline":27,"text":28},"How it works",[29,30,31],"Messages arrive in an Amazon SQS queue and are read by Amazon EventBridge Pipes.","The Pipe invokes an AWS Lambda enrichment function that calls Amazon Bedrock (Claude Sonnet 4.6) to classify sentiment, extract entities, and summarize the message.","The Pipe delivers the enriched output to its target, Amazon CloudWatch Logs. In parallel, the enrichment function persists each enriched record to Amazon DynamoDB for querying and downstream analytics.","TypeScript","300",{"patternType":35},"Serverless",{"icon1":37,"icon2":42,"icon3":46,"icon4":50,"icon5":55,"line1":59,"line2":62,"line3":64,"line4":66},{"x":38,"y":39,"service":40,"label":41},10,50,"sqs","Amazon SQS",{"x":43,"y":39,"service":44,"label":45},35,"eventbridge","Amazon EventBridge Pipes",{"x":47,"y":39,"service":48,"label":49},62,"bedrock","Amazon Bedrock",{"x":51,"y":52,"service":53,"label":54},85,25,"cloudwatch","Amazon CloudWatch Logs",{"x":51,"y":56,"service":57,"label":58},70,"dynamodb","Amazon DynamoDB",{"from":60,"to":61},"icon1","icon2",{"from":61,"to":63},"icon3",{"from":63,"to":65},"icon4",{"from":63,"to":67},"icon5",{"bullets":69},[70,73],{"text":71,"link":72},"Amazon EventBridge Pipes enrichment","https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-pipes-enrichment.html",{"text":74,"link":75},"Amazon Bedrock InvokeModel API","https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002FAPIReference\u002FAPI_runtime_InvokeModel.html","patterns\u002Feventbridge-pipes-bedrock-enrichment-cdk",{"text":78},[79,80,81,82],"Send a message to the Amazon SQS source queue.","Wait a few seconds for the Pipe to process.","Tail the Amazon CloudWatch Logs target log group (\u002Fpipes\u002Fbedrock-enriched-output) to see the enriched output delivered by the Pipe.","Query the Amazon DynamoDB table to see the persisted enriched record with sentiment, entities, and summary.","CytLZzu7HjPuf_SJIbEEjS72c5apD5_v0KDk2yl6kWc",[],1790246095031]