CDK Construct: Waf
CDK Construct Library containing the Waf construct. It can be used to easily generate
a WAF (Web Application Firewall) supporting IP allow listing.
How to use
new Waf(this, "some-waf", {
ipAllowList: ["10.0.0.2/32"],
});
Creates a WAF associated with a an IP allow list rule. The IPs must be valid IP CIDRs.
Useful commands
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit tests
On this page
Languages
TypeScript97.0%JavaScript3.0%
Contributors
Created November 23, 2020
Updated November 23, 2020