CDK Construct Library containing the Waf
construct. It can be used to easily generate
a WAF (Web Application Firewall) supporting IP allow listing.
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.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit tests