Thanks for answering my questions. Looks like there are still big gaps between Pulumi TS and other languages. Conceptually, it should be pretty easy to add support for inline lambda handler with any specified run time, but I could be wrong -- was wrong too many times before 🙂
Many time, the lambda handlers are fairly trivial, having support for inline handler could really be handy.