[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-apigw-rest-api-eventbridge-sqs-sam":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":28,"level":29,"meta":30,"patternArch":31,"resources":57,"s3URL":6,"services":6,"stem":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fapigw-rest-api-eventbridge-sqs-sam.json","Amazon API Gateway REST API to Amazon EventBridge with payload composition and Amazon SQS target",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fdaniele-frasca.json",{"text":13},[14],"sam deploy","Create an API Gateway that sends events to EventBridge and enriches the event in the integration request.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-rest-api-eventbridge-sqs-sam","serverless-patterns\u002Fapigw-rest-api-eventbridge-sqs-sam","apigw-rest-api-eventbridge-sqs-sam","template.yml",{"headline":25,"text":26},"How it works",[27],"The APIGW payload is sent to EventBridge as a custom event payload. In the integration request, a custom payload is created and passed to EventBridge that targets an SQS queue.","Node.js","300",{},{"icon1":32,"icon2":37,"icon3":41,"icon4":45,"line1":49,"line2":53,"line3":55},{"x":33,"y":34,"service":35,"label":36},15,50,"apigw","API Gateway REST",{"x":38,"y":34,"service":39,"label":40},45,"eventbridge","EventBridge",{"x":42,"y":34,"service":43,"label":44},65,"sqs","SQS",{"x":46,"y":34,"service":47,"label":48},85,"lambda","Lambda",{"from":50,"to":51,"label":52},"icon1","icon2","custom payload",{"from":51,"to":54},"icon3",{"from":54,"to":56},"icon4",{"headline":58,"bullets":59},"Additional resources",[60,63],{"text":61,"link":62},"Integrating Amazon EventBridge into your serverless applications","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintegrating-amazon-eventbridge-into-your-serverless-applications\u002F",{"text":64,"link":65},"Use Amazon EventBridge to Build Decoupled, Event-Driven Architectures","https:\u002F\u002Fserverlessland.com\u002Flearn\u002Feventbridge","patterns\u002Fapigw-rest-api-eventbridge-sqs-sam",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","4Tim9T0-L1kidM0MCU_FGp-S_x4SgL3UjkFdWHXUbWo",1778846882584]