I have a function on AWS Lambda written in Java that can currently only accept text event data, not JSON.
Whenever I go in the test console, if my test event has a payload of "{}", the function runs, however if it's a json, {} it does not.
If I run it with any of the triggers, such as S3, CloudWatch Events or with a API Gateway, they always send out a json.
Is there by any chance a possibility to run those triggers and make them send a string payload instead of a json payload?