Type alias ServerlessResourceConfig

ServerlessResourceConfig: {
    access: AccessOptions;
    content: string | Buffer;
    name: string;
    path: string;
}

Necessary info to deploy a function

Type declaration

  • access: AccessOptions

    Access for the function

  • content: string | Buffer

    Content of the uploaded function

  • name: string

    Function name

  • path: string

    Path for the serverless resource Functions: '/some-function' Assets: '/some-assets.jpg'

Generated using TypeDoc