Skip to content

Lambda@Edge Support #79

Open
Open
@spencerbeggs

Description

@spencerbeggs

Hi, Doug. Thank you for this fantastic module. I got it up and running a a couple projects where I use Lambda@Edge to serve HTML. This requires a small transform of the payload to conform to the Blacklisted and Read-Only Headers. Would you be interested in a PR for this use case, perhaps we could add a second argument to the exported serverless function to support vendor platforms, eg:

// vanilla Lambda@Edge handling
const handler = serverless(app, "edge");
// html Lambda@Edge handling
const handler = serverless(app, "edge-html");

Alternatively, I could publish separate modules that require this module as a dependency that perform the necessary transformations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions