[{"data":1,"prerenderedAt":72},["ShallowReactive",2],{"pattern-eventbridge-firehose-s3-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":32,"level":33,"meta":34,"patternArch":35,"resources":54,"s3URL":6,"services":6,"stem":65,"testing":66,"videoId":6,"__hash__":71},"patterns\u002Fpatterns\u002Feventbridge-firehose-s3-cdk.json","Amazon EventBridge to Amazon Data Firehose Delivery Stream to Amazon S3",null,{"text":8},[9,10],"Delete the stack: cdk destroy EventBridgeFirehoseS3Stack","Confirm the stack has been deleted: aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'EventBridgeFirehoseS3Stack')].StackStatus\"",[12],"content\u002Fcontributors\u002Fvikramsinha-patil.json",{"text":14},[15],"cdk deploy EventBridgeFirehoseS3Stack","Apply Firehose DynamicPartitioningConfiguration to parse the input message to extract department value to use it to create S3 partition","json","AWS CDK",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-firehose-s3-cdk","serverless-patterns\u002Feventbridge-firehose-s3-cdk","eventbridge-firehose-s3-cdk","src\u002FCdkStack.cs",{"headline":26,"text":27},"How it works",[28,29,30,31],"When a user sends a message to an EventBridge bus, the message is routed by an EventBridge rule based on 'DetailType'.","The 'Detail' field value from the message is sent to Firehose delivery stream.","Once the message reaches the Firehose delivery stream, it is processed by JsonParsingEngine to read the 'Department' field value, this value used for the S3 prefix.","After message processing, the message is delivred to an S3 bucket by following calculated S3 prefix based on 'Department' field value.",".NET","200",{},{"icon1":36,"icon2":41,"icon3":44,"line1":48,"line2":52},{"x":37,"y":38,"service":39,"label":40},20,50,"eventbridge","EventBridge",{"x":38,"y":38,"service":42,"label":43},"kinesis-firehose","Kinesis Firehose",{"x":45,"y":38,"service":46,"label":47},80,"s3","S3",{"from":49,"to":50,"label":51},"icon1","icon2","",{"from":50,"to":53,"label":51},"icon3",{"bullets":55},[56,59,62],{"text":57,"link":58},"Amazon Data Firehose Delivery Stream","https:\u002F\u002Fdocs.aws.amazon.com\u002Ffirehose\u002Flatest\u002Fdev\u002Fbasic-create.html",{"text":60,"link":61},"Amazon EventBridge","https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-get-started.html",{"text":63,"link":64},"Amazon S3","https:\u002F\u002Faws.amazon.com\u002Fs3\u002F?nc=sn&loc=0","patterns\u002Feventbridge-firehose-s3-cdk",{"text":67},[68,69,70],"Send message to EventBridge by using command at project root level - aws events put-events --entries file:\u002F\u002FSampleEvent.json","Navigate to S3 bucket created by CDK and confirm message has saved at path {department}\u002F{event message file}","Please note: Firehose delivery stream buffer is configured for 60secs (default time), so please wait for 1-2 mins after event send command to get the message in S3 bucket","XuXO9c_WnAsKAQfFLwUBdLt-Vbk1HH1G67zsimn6cz4",1778846884521]