This is an AWS CDK Construct for IP Restriction Rule Group on WAF V2
Project description
AWS WAF(V2) IP Restriction Rule Group
This is an AWS CDK Construct for IP Restriction Rule Group on WAF V2
Resources
This construct creating resource list.
- WAF V2 RuleGroup
Install
TypeScript
npm install @gammarer/aws-waf-ip-restriction-rule-group
# or
yarn add @gammarer/aws-waf-ip-restriction-rule-group
Python
pip install gammarer.aws-waf-ip-restriction-rule-group
C# / .Net
dotnet add package Gammarer.CDK.AWS.WafIpRestrictionRuleGroup
Java
Add the following to pom.xml:
<dependency>
<groupId>com.gammarer</groupId>
<artifactId>aws-waf-ip-restriction-rule-group</artifactId>
</dependency>
Example
import { WafIpRestrictRuleGroup } from '@gammarer/aws-waf-ip-restriction-rule-group';
declare const allowIpSet: waf.CfnIPSet;
new WafIpRestrictRuleGroup(stack, 'WafIpRestrictRuleGroup', {
scope: Scope.GLOBAL, // GLOBAL(CloudFront) or REIGONAL(Application Load Balancer (ALB), Amazon API Gateway REST API, an AWS AppSync GraphQL API, or an Amazon Cognito user pool)
allowIpSetArn: allowIpSet.attrArn,
});
License
This project is licensed under the Apache-2.0 License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gammarer.aws-waf-ip-restriction-rule-group-1.3.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7378a5fbad790baa0da6092b3eb739d5d380983214aa52aadde8204ef6a3be4a |
|
MD5 | 9b5638ce259b2c07b260814d0b55d403 |
|
BLAKE2b-256 | 5bdfd48202cae0d302e83c9174a09e792e8c8384df6d8195e7ae968c62fded8d |
Close
Hashes for gammarer.aws_waf_ip_restriction_rule_group-1.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b01a3e214192b260ebb7885cee9f3958dfff3d4f51d8381a7df24a6462a1bd0 |
|
MD5 | fa2a6363c0ca262ee91346b8c5efe597 |
|
BLAKE2b-256 | 08fac3e0c60a748fe255e271379d92da2a765ab07c0d8570c39006bf80f34c01 |