npm

Need private packages and team management tools?Check out npm Orgs. »

serverless-associate-waf

1.1.1 • Public • Published

serverless-associate-waf

Build Status Coverage Status

Associate a regional WAF with the AWS API Gateway used by your Serverless stack.

Install

npm install serverless-associate-waf --save-dev

Configuration

Add the plugin to your serverless.yml:

plugins:
  - serverless-associate-waf

Associating a Regional WAF with the API Gateway

Add your custom configuration:

custom:
  associateWaf:
    name: myRegionalWaf
Property Required Type Default Description
name true string The name of the regional WAF to associate the API Gateway with

Disassociating a Regional WAF from the API Gateway

Remove the associateWaf element from your custom configurtation and deploy the application. The plugin must stay in the plugins list of serverless.yml in order for the WAF to be disassociated.

Usage

Configuration of your serverless.yml is all you need.

There are no custom commands, just run: sls deploy

install

npm i serverless-associate-waf

Downloadsweekly downloads

2,426

version

1.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability