Weekly update 44

Hi, welcome to another weekly update. Production-Ready Serverless workshop goes virtual! Starting from May 4th, I will be running a 4-week instructor-led workshop that teaches you everything you need to know to build a production-ready serverless application. It’s based on the same demo app as my Manning course, but all Read more…

AppSync: how to error on DynamoDB conditional check failures

TL;DR To make an AppSync DynamoDB resolver throw exceptions on conditional check errors, we need to check $context.error in the response mapping template ourselves. Like this: #if ( $ctx.error ) #if ( $ctx.error.type.equals(“DynamoDB:ConditionalCheckFailedException”) ) $util.error(“your error message”) #else $util.error($ctx.error.message, $ctx.error.type) #end #end $utils.toJson($context.result) And now, the longer version. The problem Read more…