@gr2m This is very language specific, there is no
official AWS maintained way to publish application code to lambda, for them it's
a zipfile on S3. Some work has been done in CDK around that:
https://aws.amazon.com/blogs/devops/building-apps-with-aws-cdk/