@karmaniverous/smoz
    Preparing search index...

    Type Alias FunctionServerlessConfig

    FunctionServerlessConfig: Omit<
        NonNullable<AWS["functions"]>[string],
        "handler" | "events" | "environment",
    >

    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.