lambda

In this tutorial, you will learn how to secure access to User’s Data in RDS using Lambda Authorizer. First, the Lambda Authorizer function will authenticate the caller by validating JWT using nimbus-jose-jwt library. After that, the Lambda Authorizer function will return an output object containing an IAM policy. The Authorizer will also return additional information…

Read More Lambda Authorizer – Secure Access to User’s Data in RDS

In this tutorial, we will read user data from AWS RDS with an access token. You can have a look at the following tutorials before moving ahead. Build and deploy a Serverless Spring Boot Web Application with AWS Lambda AWS Lambda with Spring Boot – A Simple GreetMe Example Amazon Cognito User Authentication in Spring…

Read More Reading user data from AWS RDS with an access token

This tutorial is about creating Lambda functions from Spring Cloud Functions. Spring Cloud Functions provide a way to implement the business logic via functions and decouple code development from the runtime target. Hence, the developer can focus solely on the implementation of logic. The developer need not worry about the target endpoint type, connectivity, integration,…

Read More Create AWS Lambda Functions from Spring Cloud Functions

In this tutorial, we are going to see how we can use the AWS API Gateway as a trigger to an AWS Lambda function. This tutorial requires you to be familiar with building and deploying Serverless Applications with AWS Lambda. Prerequisite: Build and Deploy a Serverless Spring Boot Web Application with AWS Lambda Firstly, add…

Read More Trigger a Lambda Function Using AWS API Gateway

Build and deploy a Serverless Spring Boot Web Application with AWS Lambda This is a tutorial about creating a basic AWS Lambda function in Java using the Spring framework and requires you to have an active AWS account. If you don’t, go ahead and create one. Lambda is the serverless compute service provided by the…

Read More Build and deploy a Serverless Spring Boot Web Application with AWS Lambda

In this post, we will cover the concepts of using AWS Lambda variables and discuss why there is a need to have environment variables in lambda functions. Use case of Environment Variables in AWS Lambda Function You can use environment variables to customize function behavior in your test environment and production environment. For example, you…

Read More AWS Lambda Environment Variables – Encryption & Decryption

In this Java tutorial I am going to share with you how to create an Anonymous java class and also how to Replace Java Anonymous Class with a shorter lambda expression. Let’s start by creating and interface which we will use in this tutorial. Our anonymous java class will implement a single method defined in this java…

Read More Replace Anonymous Java Class with Lambda Expression