Serverless Framework function properties SMOZ passes through unchanged
(e.g. memorySize, timeout, tenancy, image, layers).
handler, events and environment are owned by SMOZ and excluded:
the handler derives from the file location, events from the HTTP
config or fn.serverless(extras), and the environment from fnEnvKeys.
With image set, SMOZ omits handler (Serverless rejects both). An
image object without command gets command: [<derived handler>], the
handler's path in the source tree, which only works if the container
keeps the project layout; with a string image, the container's CMD must
name the handler.
Serverless Framework function properties SMOZ passes through unchanged (e.g.
memorySize,timeout,tenancy,image,layers).handler,eventsandenvironmentare owned by SMOZ and excluded: the handler derives from the file location, events from the HTTP config orfn.serverless(extras), and the environment fromfnEnvKeys.With
imageset, SMOZ omitshandler(Serverless rejects both). Animageobject withoutcommandgetscommand: [<derived handler>], the handler's path in the source tree, which only works if the container keeps the project layout; with a stringimage, the container's CMD must name the handler.