Simple Serverless: Neat and Tidy Lambda Functions Use Powertools

Simple Serverless: Neat and Tidy Lambda Functions Use Powertools

Reduce the frustration and the time it takes to start writing Lambda functions. Simple Serverless: Neat and Tidy Lambda Functions Use Powertools

Every Lambda function I write starts in the same way: a bunch of code to unpack the event and then validate its contents. Sound familiar?

Moreover, I can never remember the exact key names for certain event payloads. How do I get the headers from an ApiGateway event again? Is it headers or Headers?

Oh right, it’s headers _and_multiValueHeaders. Of course it is.

So each new Lambda function I create starts off in a very similar way to every other Lambda function I create:

  • Googling for event payload structures.
  • Unpacking the contents and calling json.loadsto turn strings into dicts.
  • Validating the contents.

serverless aws-lambda aws python

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Serverless Express – Easy APIs On AWS Lambda & AWS HTTP API

Serverless Express enables you to easily host Express.js APIs on AWS Lambda and AWS HTTP API. Here is how to get started and deliver a Serverless Express.js based API with a custom domain, free SSL certificate and much more!

Serverless COVID-19 Data Scraper with Python and AWS Lambda

Step-by-Step Tutorial: Scheduling your Python Script with AWS Lambda

Git Actions with AWS Lambda Serverless Python Functions and API Gateway

Modernizing web application development and deployment. Let's describe a phase 1 AWS architecture including Github, API Gateway, and AWS Lamba python functions. This represents an initial tutorial exposing developers to the AWS cloud adoption learning curve. Outline:

Serverless APIs with Python, AWS Lambda & API Gateway

Serverless APIs with Python, AWS Lambda & API Gateway

A Deep Dive into Serverless Tracing with AWS X Ray & Lambda

A Deep Dive into Serverless Tracing with AWS X Ray & Lambda. Over the past few weeks I’ve been experimenting with building a Serverless API on AWS with the goal of having everything needed to run a production system. One necessary piece was distributed tracing. While I’d seen a bit of what some non-AWS options had to offer, the extra cost of the services themselves, along with actually getting the data to them, was a bit prohibitive for what I imagined should be possible (and cheaper) with only AWS, which brought me to X Ray.