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
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-0.2.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bed923884747242bc987c7263ae214f20e29673f3c943ac5411b93cb116b6b27 |
|
MD5 | a8b387fd71d3e97108a1ca39506ce952 |
|
BLAKE2b-256 | 0ccd35b134ee2a31a550ebd631e874b8002ab862769a95b3aacc398db6b5fedf |
Close
Hashes for gammarer.aws_waf_ip_restriction_rule_group-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17096b89c47e0b3870c528a46265c87b88abb0480d563e7b91bb349a91f86ae3 |
|
MD5 | 59506f37a1b6bb74d3485df760fb4600 |
|
BLAKE2b-256 | c413a1461e5aaaa2e49915b62f7aa744fa961ee51ad791c53f715062c76d7f2c |