John--did you ever figure this out? I'm trying to solve the same problem myself--a Micronaut app that handles both API Gateway events and CloudWatch events. What I've ended up trying currently is to just have separate subprojects for each event type. I think this is the cleanest approach, particularly because I'm building to native images and it keeps those smaller so they start faster.