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
Ansible Interview Questions 4

Leave a Reply

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