According to the resolution provided on 18 May for aws lambda java libs to aws sdk java v2

aws-lambda-java-events version 3.0.0 was just released with support for all events (including S3) without the inclusion of SDK v1 dependencies.
This should help you make use of the AWS SDK for Java v2 and reduce your function package size as the v1 SDK does not need to be bundled anymore if it's not explicitly needed.

Source code is here

Answer from Mohan Radhakrishnan on Stack Overflow
🌐
Medium
raghunitb.medium.com › event-driven-application-using-aws-eventbridge-and-lambda-in-java-part-1-de645ef09f68
Event-Driven Application using AWS EventBridge and Lambda in Java — Part 1 | by Raghunandan Gupta | Medium
April 29, 2021 - We can add Target means destination in Event Bridge where the matched event will be sent. e.g. Lambda, APIs, Kinesis, SQS, and SNS, etc. ... Source and Details Type are used to identify the events. In our case, we have named it as per the Java Package Standard or any other.
Discussions

java - What's the AWS SDK V2 class for Lambda S3Event? - Stack Overflow
It's January 2020 and I can't find any examples of SDK 2.0 Lambda Functions in Java. ... it's Feb 2020 and I no answer from AWS yet. also I have tried to use the v1 S3Event but I been getting an empty obj back ... Why not use the java events library directly? More on stackoverflow.com
🌐 stackoverflow.com
java - What's the AWS SDK V2 Maven lib for Lambda? - Stack Overflow
For example, looking at the Lambda Java documentation you can see that all imports still start with com.amazonaws (SDK v1) and not software.amazon (SDK v2). One of the examples they list there is blank-java which they describe as "A Java function with the events library, advanced logging configuration, and the AWS ... More on stackoverflow.com
🌐 stackoverflow.com
Reusable Lambda for Multiple Event Types (Java)
I want to write an AWS Lambda function that is able to respond to various types of event types: API Gateway, Kinesis, S3, etc. The API/SDK I need to work with is Java. I'd like to create a genera... More on repost.aws
🌐 repost.aws
1
1
March 20, 2023
In what scenario does using Java in Lambda make sense?
Very often the best language for a team/org is not the "best" language for particular component. If it's a Java based team it often doesn't make sense to dump all that investment just for Lambda if Java performance there is acceptable. Personally I won't use Node for anything if I can possibly avoid it. If Python isn't fast enough and in particular if threading will help I'll use Go. But even as anti-Node as I admit I am, I absolutely respect that in shops with a lot of Javascript talent due to frontend work it often makes the most sense to go with Node for backend work despite its many hair pulling issues. It's much better to be pragmatic than "right". Lambda supports a ton of languages (effectively all of them if we count custom runtimes) because it's pragmatic. More on reddit.com
🌐 r/aws
62
25
March 28, 2024
🌐
GitHub
github.com › aws › aws-lambda-java-libs › blob › main › aws-lambda-java-events › README.md
aws-lambda-java-libs/aws-lambda-java-events/README.md at main · aws/aws-lambda-java-libs
Official mirror for interface definitions and helper classes for Java code running on the AWS Lambda platform. - aws-lambda-java-libs/aws-lambda-java-events/README.md at main · aws/aws-lambda-java-libs
Author   aws
🌐
Maven Repository
mvnrepository.com › artifact › com.amazonaws › aws-lambda-java-events › 1.0.0
Maven Repository: com.amazonaws » aws-lambda-java-events » 1.0.0
Event interface definitions AWS services supported by AWS Lambda. ... aar android apache api application arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy ios javascript jenkins kotlin library maven mobile ...
🌐
Medium
georgemao.medium.com › demystifying-java-aws-lambda-handlers-for-api-gateway-c1e77b7e6a8d
Demystifying Java AWS Lambda handlers for API Gateway | by George Mao | Medium
December 16, 2020 - With this option, your handler class should implement RequestHandler and your handler method should have two parameters: the event and the context . For the event, use any POJO, Custom class, or an AWS provided class from the events library.
🌐
GitHub
github.com › aws › aws-lambda-java-libs › blob › main › aws-lambda-java-events › src › main › java › com › amazonaws › services › lambda › runtime › events › APIGatewayV2HTTPEvent.java
aws-lambda-java-libs/aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/APIGatewayV2HTTPEvent.java at main · aws/aws-lambda-java-libs
Official mirror for interface definitions and helper classes for Java code running on the AWS Lambda platform. - aws-lambda-java-libs/aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/APIGatewayV2HTTPEvent.java at main · aws/aws-lambda-java-libs
Author   aws
Find elsewhere
🌐
AWS
aws.amazon.com › blogs › opensource › testing-aws-lambda-functions-written-in-java
Testing AWS Lambda functions written in Java | AWS Open Source Blog
February 6, 2024 - We know that writing unit and integration tests for Lambda can be a challenge, especially in Java, and today we are happy to announce the release of aws-lambda-java-tests, an opinionated library that simplifies writing tests. The handler is the entry point of your Lambda function: This is the method that is executed when the Lambda function is invoked. It receives the event that triggered the invocation as a parameter along with the context.
🌐
Maven Repository
mvnrepository.com › artifact › com.amazonaws › aws-lambda-java-events › 3.1.0 › usages
Maven Repository: com.amazonaws » aws-lambda-java-events » 3.1.0 (Usages)
Provides helper classes/methods to use alongside aws-lambda-java-events in order to transform Lambda input event model objects into SDK-compatible output model objects (eg.
🌐
Maven Repository
mvnrepository.com › artifact › com.amazonaws › aws-lambda-java-events
Maven Repository: com.amazonaws » aws-lambda-java-events
July 16, 2025 - Event interface definitions AWS services supported by AWS Lambda. ... aar android apache api arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript jvm kotlin library logging maven mobile ...
🌐
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › invoking lambda with events from other aws services › using aws lambda with amazon dynamodb › tutorial: using aws lambda with amazon dynamodb streams
Tutorial: Using AWS Lambda with Amazon DynamoDB streams - AWS Lambda
This tutorial showed you the basics of processing DynamoDB stream events with Lambda. For production workloads, consider implementing partial batch response logic to handle individual record failures more efficiently. The batch processor utility · from Powertools for AWS Lambda is available in Python, TypeScript, .NET, and Java and provides a robust solution for this, automatically handling the complexity of partial batch responses and reducing the number of retries for successfully processed records.
🌐
Maven Repository
mvnrepository.com › artifact › com.amazonaws › aws-lambda-java-events › 3.16.1
Maven Repository: com.amazonaws » aws-lambda-java-events » 3.16.1
July 16, 2025 - Event interface definitions AWS services supported by AWS Lambda. ... aar android apache api arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript jvm kotlin library logging maven mobile module npm osgi persistence plugin resources rlang sdk server service spring sql starter testing tools ui web webapp
Published   Jul 16, 2025
Version   3.16.1
🌐
Wikipedia
en.wikipedia.org › wiki › Amazon_Web_Services
Amazon Web Services - Wikipedia
3 days ago - The most popular include Amazon Elastic Compute Cloud (EC2), Amazon Simple Storage Service (Amazon S3), Amazon Connect, and AWS Lambda (a serverless function that can perform arbitrary code written in any language that can be configured to be triggered by hundreds of events, including HTTP calls).
🌐
AWS re:Post
repost.aws › questions › QUXARUrLACTBeZz1HjGyOFIg › reusable-lambda-for-multiple-event-types-java
Reusable Lambda for Multiple Event Types (Java) | AWS re:Post
March 20, 2023 - Another approach is to use Map and/or Inputstream as shown here: https://docs.aws.amazon.com/lambda/latest/dg/java-handler.html. ... Using Object and instanceof does work, but isn’t really a lot different than having a handler per event type. The issue with the Map or InputStream is that the event is serialized and I have essentially the same problem as before in that each event has a different format.
🌐
Maven Repository
mvnrepository.com › artifact › com.amazonaws › aws-lambda-java-events › 2.2.2
Maven Repository: com.amazonaws » aws-lambda-java-events » 2.2.2
July 2, 2018 - Event interface definitions AWS services supported by AWS Lambda. ... aar android apache api application arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript kotlin library logging maven mobile module npm osgi plugin resources rlang sdk server service spring sql starter testing tools ui war web webapp
🌐
Reddit
reddit.com › r/aws › in what scenario does using java in lambda make sense?
In what scenario does using Java in Lambda make sense? : r/aws
March 28, 2024 - You wouldn’t architect a Lambda handler with node EventEmitters ever. Node with typescript is an excellent choice, especially with Lambda. ... Because I don't know Node and neither does anyone else on my team. The applications we support are all either Python or Java (and we've been moving away from Java).
🌐
Medium
raghunitb.medium.com › event-driven-application-using-aws-eventbridge-lambda-and-s3-in-java-part-2-420fb393cc7d
Event-Driven Application using AWS EventBridge, Lambda and S3 in Java — Part 2 | by Raghunandan Gupta | Medium
September 4, 2021 - import com.amazonaws.regions.Regions; import com.amazonaws.services.eventbridge.AmazonEventBridge; import com.amazonaws.services.eventbridge.AmazonEventBridgeClient; import com.amazonaws.services.eventbridge.model.PutEventsRequest; import com.amazonaws.services.eventbridge.model.PutEventsRequestEntry; import com.amazonaws.services.eventbridge.model.PutEventsResult; import com.amazonaws.services.lambda.runtime.Context; import java.nio.charset.StandardCharsets; import java.util.Calendar; public class EventBridgeService { private AmazonEventBridge amazonEventBridge = null; public EventBridgeServi
🌐
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › building lambda functions with java › java sample applications for aws lambda
Java sample applications for AWS Lambda - AWS Lambda
A collection of Java functions that contain skeleton code for how to handle events from various services such as Amazon API Gateway, Amazon SQS, and Amazon Kinesis. These functions use the latest version of the aws-lambda-java-events library (3.0.0 and newer).
🌐
Min
docs.min.io › enterprise › aistor-object-store
MinIO AIStor Documentation
This site documents the installation, administration, and operations of AIStor Server clusters running the latest stable release · Deploy MinIO AIStor on Kubernetes