1.0.2 • Published 4 years ago

@isudzumi/serverless-plugin-lambda-edge v1.0.2

Weekly downloads
9
License
MIT
Repository
github
Last release
4 years ago

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
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.5

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

5 years ago

0.0.1

5 years ago