Daniel Broadhurst
← All writing

Node.js

21 Jun 2023 · 12 min read

AWS Serverless with Node.js 22: Lambda, DynamoDB and SAM

AWS serverless with Node.js 22: build a TypeScript Lambda that writes to DynamoDB with the AWS SDK v3, test it with Vitest and deploy it using AWS SAM.

ArticlesAWSLatest NewsNode.jsServerless

Ink sketch of a single light switch on a wall with a hand flicking it, and a small cloud above lighting up like a bulb

14 May 2022 · 8 min read

Add Lambda Notifications to an Existing S3 Bucket with SAM

How to add S3 event notifications for Lambda to an existing S3 bucket with AWS SAM and CloudFormation, using a custom resource to manage the configuration.

ArticlesAWSLatest NewsNode.jsTutorial

Ink sketch of a metal bucket with a bell tied to its handle; an object dropping into the bucket makes the bell ring and wakes a small Greek lambda symbol sitting beside it

27 Mar 2022 · 9 min read

AWS Lambda Monorepo with Node.js 22 and pnpm Workspaces

Build an AWS Lambda monorepo with Node.js 22 and pnpm workspaces: share code between functions, bundle with esbuild and deploy nested SAM stacks from CI.

ArticlesAWSLatest NewsNode.jsShowcaseTutorial

Ink sketch of a tidy wooden tool chest with several open drawers, each drawer holding one small Greek lambda symbol like a tool, and one shared drawer in the middle that all the others draw from