[{"data":1,"prerenderedAt":77},["ShallowReactive",2],{"pattern-s3-sqs-eventbridge-pipe-sfn-s3":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":33,"level":34,"meta":35,"patternArch":36,"resources":64,"s3URL":6,"services":6,"stem":72,"testing":73,"videoId":6,"__hash__":76},"patterns\u002Fpatterns\u002Fs3-sqs-eventbridge-pipe-sfn-s3.json","File copy between Amazon S3 buckets via Amazon Eventbridge Pipes & AWS Step Functions",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fdan-straw.json",{"text":13},[14],"sam deploy","Copy and manipulate an object between Amazon S3 buckets using Amazon SQS, Amazon EventBridge Pipes and AWS Step Functions","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fs3-sqs-eventbridge-pipe-sfn-s3","serverless-patterns\u002Fs3-sqs-eventbridge-pipe-sfn-s3","s3-sqs-eventbridge-pipe-sfn-s3","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29,30,31,32],"This sample project demonstrates how to copy an object with JSON encoded content between two S3 buckets and manipulate it in transit.","When an object is created in the source S3 bucket, an S3 Event Notification is fires and enqueued onto an SQS Queue.","The EventBridge service polls the SQS Queue and invokes an EventBridge Pipe.","The EventBridge Pipe then executes an AWS Step Functions Express Workflow state machine.","This copies the file from the source S3 Bucket to the destination S3 Bucket.","In a real world scenario the state machine would be modified to manipulate the JSON object as desired","Integration","200",{},{"icon1":37,"icon2":42,"icon3":46,"icon4":49,"icon5":53,"line1":55,"line2":58,"line3":60,"line4":62},{"x":38,"y":39,"service":40,"label":41},10,50,"s3","Amazon S3",{"x":43,"y":39,"service":44,"label":45},30,"sqs","Amazon SQS",{"x":39,"y":39,"service":47,"label":48},"eventbridge-pipes","EventBridge Pipes",{"x":50,"y":39,"service":51,"label":52},70,"sfn","Step Functions",{"x":54,"y":39,"service":40,"label":41},90,{"from":56,"to":57},"icon1","icon2",{"from":57,"to":59},"icon3",{"from":59,"to":61},"icon4",{"from":61,"to":63},"icon5",{"bullets":65},[66,69],{"text":67,"link":68},"Configuring an S3 bucket for notifications","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fways-to-add-notification-config-to-bucket.html",{"text":70,"link":71},"Amazon Simple Queue Service as an EventBridge Pipe source","https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-pipes-sqs.html","patterns\u002Fs3-sqs-eventbridge-pipe-sfn-s3",{"text":74},[75],"See the GitHub repo for detailed testing instructions.","xLKvpwGeQ0aTzFGhXzgDUVBh0lysSQPU_cfUt1ItvEE",1778846887599]