[{"data":1,"prerenderedAt":59},["ShallowReactive",2],{"pattern-cdk-appsync-sns":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":45,"s3URL":6,"services":53,"stem":54,"testing":55,"videoId":6,"__hash__":58},"patterns\u002Fpatterns\u002Fcdk-appsync-sns.json","AWS AppSync to Amazon SNS",null,{"text":8},[9],"Delete the stack: \u003Ccode>npx aws-cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fmichael-liendo.json",{"text":13},[14],"npx aws-cdk deploy","Create an AppSync API with an SNS HTTP data source","json","AWS CDK",{"template":19},{"projectFolder":20,"repoURL":21,"templateURL":22,"templateFile":23},"cdk-appsync-sns","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fcdk-appsync-sns","serverless-patterns\u002Fcdk-appsync-sns","cdk\u002Flib\u002Fmain.ts",{"headline":25,"text":26},"How it works",[27],"This CDK application deploys an AppSync API which uses an SNS HTTP datasource. AWS AppSync provides a 'publish' query that sends a message to the configured SNS topic. The query returns the response MessageId, and the SequenceNumber if using a  FIFO (first-in-first-out) topic.","TypeScript","100",{},{"icon1":32,"icon2":37,"line1":41},{"x":33,"y":34,"service":35,"label":36},20,50,"appsync","AWS AppSync",{"x":38,"y":34,"service":39,"label":40},80,"sns","SNS",{"from":42,"to":43,"label":44},"icon1","icon2","",{"bullets":46},[47,50],{"text":48,"link":49},"Simplify access to multiple microservices with AWS AppSync and AWS Amplify","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fmobile\u002Fappsync-microservices\u002F",{"text":51,"link":52},"Tutorial: HTTP Resolvers","https:\u002F\u002Fdocs.aws.amazon.com\u002Fappsync\u002Flatest\u002Fdevguide\u002Ftutorial-http-resolvers.html",{"from":35,"to":39},"patterns\u002Fcdk-appsync-sns",{"text":56},[57],"See the GitHub repo for detailed testing instructions.","WNYhZ1DjY79YG2a30Kj1ByU0Z7s0JOnfYPpgFfYJZic",1779273333982]