Reference Java lambda from Javascript service?


I’m working with a project initiated with aws-nodejs template, there also exist a couple of existing Lambda for authorization (in Java) which have logics I’m reluctant to write again . Is it possible I create authorizers in my service based on those Lambda?

If it’s not possible would you please suggest any efficient way for this purpose?

Thank you in advance.

I forget to mention those Java Lambda are managed outside of my service, I don’t have to worry about their deployment.