[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-lambda-aurora-serverless":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":30,"level":31,"meta":32,"patternArch":33,"resources":47,"s3URL":6,"services":6,"stem":58,"testing":59,"videoId":6,"__hash__":62},"patterns\u002Fpatterns\u002Flambda-aurora-serverless.json","AWS Lambda and Amazon Aurora Serverless v1",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fgreg-davis.json",{"text":13},[14],"sam deploy","Creates a Lambda function with access to an Amazon Aurora Serverless v1 DB cluster.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-aurora-serverless","serverless-patterns\u002Flambda-aurora","lambda-aurora-serverless","template.yml",{"headline":25,"text":26},"How it works",[27,28,29],"This pattern creates an AWS Lambda function and an Amazon Aurora MySQL database version 2 (with MySQL 5.7 compatibility) in an Aurora Serverless version 1 DB cluster with Data API and a Secrets Manager secret.","The function creates an example table in the DB, inserts a row with data from the event object, then returns the results of a select query.","For Aurora Serverless v2, please use \u003Ca href=\"https:\u002F\u002Fserverlessland.com\u002Fpatterns\u002Flambda-aurora-serverlessv2-postgresql\">another pattern\u003C\u002Fa>","Node.js","200",{},{"icon1":34,"icon2":39,"line1":43},{"x":35,"y":36,"service":37,"label":38},20,50,"lambda","AWS Lambda",{"x":40,"y":36,"service":41,"label":42},80,"aurora","Amazon Aurora",{"from":44,"to":45,"label":46},"icon1","icon2","using the Data API",{"bullets":48},[49,52,55],{"text":50,"link":51},"Using the Data API for Aurora Serverless","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FAuroraUserGuide\u002Fdata-api.html",{"text":53,"link":54},"Data API - ExecuteStatement","https:\u002F\u002Fdocs.aws.amazon.com\u002Frdsdataservice\u002Flatest\u002FAPIReference\u002FAPI_ExecuteStatement.html",{"text":56,"link":57},"AWS Lambda and Aurora Serverless v2","https:\u002F\u002Fserverlessland.com\u002Fpatterns\u002Flambda-aurora-serverlessv2-postgresql","patterns\u002Flambda-aurora-serverless",{"text":60},[61],"See the GitHub repo for detailed testing instructions.","_tWrBTghIdE5UH4L-aEGGYuwDFF2W9liRurwLo_5Gf8",1778846885834]