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.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bacce8199c3ec34eb5e2b4ebe56408cf23c92b3234c7874e2dd716263e9cd2da |
|
MD5 | 2b2009f6e056087125ebf6096ae48ffe |
|
BLAKE2b-256 | e1fdca270b80b0bd5d72cb268ae3db01d19d7542bb40c6807a33aebba4feff1f |
Close
Hashes for gammarer.aws_waf_ip_restriction_rule_group-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d618765c829b4e9e50646429aa7a4c917689cd8d3af904190859b196c3f82b7 |
|
MD5 | 1327454ebad33e8a4c7fcdfaf8a05d24 |
|
BLAKE2b-256 | 9c6f50203710396fd6d771a8538b0518a3c09aeafd9ea2cafef9a09ee5515118 |