AWS Oracle

AWS Lambda triggered by S3

Examples

Echo Input Args in Java

You can get easily get this information by barfing out the input in your handler function. For example, in Java:

public String handleRequest(String input, Context context) { 
context.getLogger().log("Input: " + input);
String output = "Input:" + System.getProperty("line.separator") + input;
return output;
}

 

 

 

READ ALSO
AWS Lambda using Python

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.