2.0.26 • Published 6 months ago
@gammarers/aws-waf-ip-rate-limit-rule v2.0.26
AWS WAF(V2) IP Rete Limit Rule
This is an AWS CDK WAF IP Rate Limit Rule
Resources
This construct creating resource list.
- WAF V2 RuleGroup
Install
TypeScript
install by npm
npm install @gammarers/aws-waf-ip-rate-limit-ruleinstall by yarn
yarn add @gammarers/aws-waf-ip-rate-limit-rulePython
pip install gammarers.aws-waf-ip-rate-limit-ruleExample
import { WAFIPRateLimitRule } from '@gammarers/aws-waf-ip-rate-limit-rule';
const ipRateLimitRule = new WAFIPRateLimitRule({
rateLimit: 100,
});
new wafv2.CfnWebACL(stack, 'WebACL', {
defaultAction: { allow: {} },
scope: 'CLOUD_FRONT',
name: 'WebAclWithCustomRules',
visibilityConfig: {
cloudWatchMetricsEnabled: true,
metricName: 'WebAclMetric',
sampledRequestsEnabled: true,
},
rules: [
ipRateLimitRule.blockRule({
priority: 1,
}),
],
});License
This project is licensed under the Apache-2.0 License.
2.0.26
6 months ago
2.0.25
6 months ago
2.0.24
7 months ago
2.0.23
7 months ago
2.0.22
7 months ago
2.0.21
7 months ago
2.0.20
7 months ago
2.0.19
8 months ago
2.0.18
8 months ago
2.0.17
8 months ago
2.0.16
8 months ago
2.0.15
9 months ago
2.0.14
9 months ago
2.0.13
9 months ago
2.0.12
9 months ago
2.0.11
10 months ago
2.0.10
10 months ago
2.0.9
10 months ago
2.0.8
10 months ago
2.0.7
10 months ago
2.0.6
11 months ago
2.0.5
11 months ago
2.0.4
11 months ago
2.0.3
11 months ago
2.0.2
12 months ago
2.0.1
12 months ago
2.0.0
12 months ago