How will the Lambda handler of multiple different types of trigger look like in java?
I want to set a trigger for Cloudwatch Event Rule, S3. How can I do this?
public class App implements RequestHandler<S3Event, Context>
{
public Context handleRequest(S3Event s3event, Context context) {
System.out.println("welcome to lambda");
}
}