[{"data":1,"prerenderedAt":58},["ShallowReactive",2],{"pattern-appsync-bedrock-cdk":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":6,"stem":53,"testing":54,"videoId":6,"__hash__":57},"patterns\u002Fpatterns\u002Fappsync-bedrock-cdk.json","AWS AppSync to Amazon Bedrock",null,{"text":8},[9],"\u003Ccode>cdk delete\u003C\u002Fcode>",[11],"content\u002Fcontributors\u002Fgabriele-biagini.json",{"text":13},[14],"npm run deploy","Create a AppSync API to interact with Bedrock models.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fappsync-bedrock-cdk","serverless-patterns\u002Fappsync-bedrock-cdk","appsync-bedrock-cdk","lib\u002Fbackend-stack.ts",{"headline":25,"text":26},"How it works",[27],"In this pattern the end user is able to provide a prompt that will be used to invoke an Amazon Bedrock model using an AppSync JS resolver.","TypeScript","200",{},{"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,"bedrock","Amazon Bedrock",{"from":42,"to":43,"label":44},"icon1","icon2","",{"bullets":46},[47,50],{"text":48,"link":49},"AppSync HTTP resolvers","https:\u002F\u002Fdocs.aws.amazon.com\u002Fappsync\u002Flatest\u002Fdevguide\u002Ftutorial-http-resolvers.html",{"text":51,"link":52},"Amazon Bedrock - Generative AI","https:\u002F\u002Faws.amazon.com\u002Fbedrock\u002F","patterns\u002Fappsync-bedrock-cdk",{"text":55},[56],"\u003Ccode>npm run test\u003C\u002Fcode>","RdYh6-8oZIsRZBzyGtnEesf00ZeLA9XbJxI2hiCb2iA",1778846883176]