Lambda Components - artefacts?

Is it possible to develop a Component with a lambda function referencing a deployment artefact rather than the rather basic approach of pointing to the handler function ?

It wasn’t obvious to me in the documentaion

A

Write my own Component I guess…