[{"data":1,"prerenderedAt":62},["ShallowReactive",2],{"pattern-lambda-aurora-serverlessv2-postgresql":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":29,"level":30,"meta":31,"patternArch":32,"resources":46,"s3URL":6,"services":6,"stem":57,"testing":58,"videoId":6,"__hash__":61},"patterns\u002Fpatterns\u002Flambda-aurora-serverlessv2-postgresql.json","AWS Lambda and Amazon Aurora Serverless v2",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fyusuf-mayet.json",{"text":13},[14],"sam deploy","Creates a Lambda function with access to an Amazon Aurora Serverless v2 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-serverlessv2-postgresql","serverless-patterns\u002Flambda-aurora-serverlessv2-postgresql","lambda-aurora-serverlessv2-postgresql","template.yaml",{"headline":25,"text":26},"How it works",[27,28],"This pattern creates an AWS Lambda function and an Amazon Aurora PostgreSQL DB in an Aurora Serverless v2 DB cluster with RDS 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.","Python","200",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},20,50,"lambda","AWS Lambda",{"x":39,"y":35,"service":40,"label":41},80,"aurora","Amazon Aurora",{"from":43,"to":44,"label":45},"icon1","icon2","using the Data API",{"bullets":47},[48,51,54],{"text":49,"link":50},"Using the Data API for Aurora Serverless","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FAuroraUserGuide\u002Fdata-api.html",{"text":52,"link":53},"Data API - ExecuteStatement","https:\u002F\u002Fdocs.aws.amazon.com\u002Frdsdataservice\u002Flatest\u002FAPIReference\u002FAPI_ExecuteStatement.html",{"text":55,"link":56},"Using Aurora Serverless v2","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FAuroraUserGuide\u002Faurora-serverless-v2.html","patterns\u002Flambda-aurora-serverlessv2-postgresql",{"text":59},[60],"See the GitHub repo for detailed testing instructions.","soDii8Fqi-WyAfPdKZt2RDuwpxSaNnu1lrsqa9yEfwc",1781692546078]