“Feature Toggles are a powerful technique, allowing teams to modify system behavior without changing code…. Toggles introduce complexity. We can keep that complexity in check by using smart toggle implementation practices and appropriate tools to manage our toggle configuration, but we should also aim to constrain the number of toggles in our system” — Martin Fowler

Feature toggles are a powerful tool but as Martin Fowler mentioned in this article, they can also be quite hard to implement.

In this blog I’ll demonstrate how feature toggles in AWS can become a simple task and a great tool that you must…


In my previous blog post “AWS Lambda Event Validation — from Zero to Hero”, I showed how to parse AWS Lambda event schemas correctly and how to handle event validation exceptions.

The “weapon” of choice was an excellent Python library called Pydantic.

In this blog post we’ll take it up a notch and improve our validation solution even further by using a new & awesome library called AWS Lambda Powertools.

If you’re unfamiliar with event validation with Pydantic, check out Part 1 in this series.

So, why should you continue reading?

Well, for 3 simple reasons:

  1. You will learn how to reduce your validation code in…


So, you’ve started your serverless journey. It’s new and exciting and there’s lots to learn. You begin with your first AWS Lambda function. Everything looks fine and it just works, your Lambda gets an input event and produces output.

However, problems tend to arise when unhandled exceptions and failures are encountered. These prove to be rather expensive, when not dealt with properly, as they can cause unexpected bugs, security issues and costly Lambda retries.

In this blog, we’ll discuss how to parse event schemas correctly and how to handle event validation exceptions. …

Ran Isenberg

Software Architect at CyberArk. Designs and develops SaaS applications and K8s microservices applications.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store