JSPM

@isudzumi/serverless-plugin-lambda-edge

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q18155F
  • License MIT

serverless plugin for Lambda@Edge with aws-sdk

Package Exports

  • @isudzumi/serverless-plugin-lambda-edge

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@isudzumi/serverless-plugin-lambda-edge) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

serverless-plugin-lambda-edge

npm version publish

serverless plugin for Lambda@Edge with using aws-sdk instead of CloudFormation.

This makes it possible for users to associate Lambda functions to your currently working Cloudfront.

Usage

  1. Install the plugin
npm install --save-dev @isudzumi/serverless-plugin-lambda-edge
  1. Put the plugin name in your serverless.yml
plugins
  - '@isudzumi/serverless-plugin-lambda-edge'
  1. Configure you Lambda@Edge properties
functions
  someFunctionAssociatedWithCloudfront
    name: some-handler-
    handler: function.handler
    eventType: viewer-request    # request/response event type (viewer-request, viewer-response, origin-request, origin-response)
    
custom
  - cloudFrontId: XXX    # your Cloudfront Id