A useful python json logger Lambda layer that can be used for Lambda logs easily with indexable tags and keywords that work well with services like ElasticSearch/OpenSearch.
Tag: Lambda
Configuring an S3 Bucket to send events to a Lambda destination for processing
Demonstrating how to configure a Lambda target destination for an S3 bucket to send lifecycle event notifications to, including using CloudFormation yaml definitions for the setup.
How to implement a Lambda Authorizer for an AWS AppSync API and invoke the API with the required Authorization Token
Implementing a Lambda Authorizer integrated with an AppSync API including Cloudformation template samples and also demonstrating how to correctly invoke the API with the required auth token.
Configuring and reviewing the new Lambda Function URLs feature in AWS
The ability to create a url for a single Lambda microservice function is a giant step in the right direction, but it would be nice to have more authorization options similar to AppSync/API Gateway.
Implementing a Lazy User Migration Lambda for an AWS Cognito User Pool
How to seamlessly migrate existing users logging into a Cognito User Pool for the first time by authenticating them against the old system using a Migrate User Lambda Trigger.
Create and reference SSM Parameter Store variables in Cloudformation Stacks and Lambdas
How to make use of the AWS Systems Manager Parameter Store as a repository for configuration data and how to reference the store in Cloudformation Stacks or in Lambda code.
Getting DynamoDB Data Changes with Streams and processing them with Lambdas using Python
How to capture and process DynamoDB data changes by using DynamoDB streams with a Lambda Trigger in Python.
How to create a Lambda inside an AWS VPC – Virtual Private Cloud
In order to allow Lambdas to access to resources like an Aurora Database within your AWS account VPC or Virtual Private Cloud, they need to be created within it. This post demonstrates how to do that with both the console and also using a Cloudformation Template.
Running a Lambda on a schedule using EventBridge Cron and Rate Expressions
Demonstrating how to have a Lambda to run on a schedule by using EventBridge Cron and Rate Expressions to set the time or frequency of the invocation and to define these using Cloudformation.
How to quickly resolve an Infinite Loop Condition between an S3 Bucket and a Lambda and avoid this in the future
The moment you realize there is an infinite loop between an S3 Bucket and a Lambda function updating each other is not pleasant – first thing to do – Throttle the Lambda.