How to Use AWS Lambda function in Java to communicate with AWS S3? Reading, writing and uploading a text file to S3 using AWS Lambda function in Java. Following are the steps to write a sample Lambda function in Java to work with the files that are placed on Amazon S3 bucket.
Home » com.amazonaws » aws-java-sdk-lambda ... The AWS Java SDK for AWS Lambda module holds the client classes that are used for communicating with AWS Lambda Service
Aws lambda context java
At the time you create a Lambda function you specify a handler that AWS Lambda can invoke when the service executes the Lambda function on your behalf. AWS Lambda Function Handler in Java
Lookup “fat lambda” - a lambda that triggers an ECS task. You can use lambda to be event driven and then pass the object key (assuming S3 is your object store) to the ECS task to convert. With ECS you can use a docker image with spark/pyspark configured and not worry about package or execution limits
Here's a quick walk through for creating an AWS lambda using Java. I happen to use IntelliJ with maven, but you can use whatever IDE and package management you prefer to use. You can find a similar walk-through in the online AWS documentation or in the AWS Lambda In Action book.