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
File details
Details for the file gammarer.aws-waf-ip-restriction-rule-group-1.3.6.tar.gz
.
File metadata
- Download URL: gammarer.aws-waf-ip-restriction-rule-group-1.3.6.tar.gz
- Upload date:
- Size: 35.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 137c1790d6521b93c8f0c5b75546cd94831a89cc8152e03a18afd4ae2f4721c1 |
|
MD5 | c963f065974d2f5971b7cab2af2ce5c9 |
|
BLAKE2b-256 | 287e593afb25a924e7aabfb9577b83a276396b49f038a9954e4b787b56d256f4 |
File details
Details for the file gammarer.aws_waf_ip_restriction_rule_group-1.3.6-py3-none-any.whl
.
File metadata
- Download URL: gammarer.aws_waf_ip_restriction_rule_group-1.3.6-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 219272929d3429ab934b87c9a47282f3ef1486564be974f72e34923f9e0be01d |
|
MD5 | 745a2465867315c27d96ac68db2f9cf0 |
|
BLAKE2b-256 | 1b53b9f212bee92c8d71e0f52ced404aef9d7b133588e8856c62331047cd83bb |