Skip to content

Instantly share code, notes, and snippets.

public class CheckUser {
public String checkUser(SESEvent event, Context c) {
c.getLogger().log("Inside the function\n");
if (event == null || event.getRecords() == null) {
c.getLogger().log("Events is null\n");
return "STOP_RULE";
}
return "CONTINUE";
}
}