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.
Metadata
Release files for gammarer.aws-waf-ip-restriction-rule-group 1.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gammarer.aws-waf-ip-restriction-rule-group-1.3.6.tar.gz | 35.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gammarer.aws_waf_ip_restriction_rule_group-1.3.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 70.7 kB
Release files / gammarer.aws-waf-ip-restriction-rule-group-1.3.6.tar.gz
| Download URL | gammarer.aws-waf-ip-restriction-rule-group-1.3.6.tar.gz |
|---|---|
| Size | 35.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
137c1790d6521b93c8f0c5b75546cd94831a89cc8152e03a18afd4ae2f4721c1
|
|
BLAKE2b-256 checksum How to use checksums |
287e593afb25a924e7aabfb9577b83a276396b49f038a9954e4b787b56d256f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / gammarer.aws_waf_ip_restriction_rule_group-1.3.6-py3-none-any.whl
| Download URL | gammarer.aws_waf_ip_restriction_rule_group-1.3.6-py3-none-any.whl |
|---|---|
| Size | 34.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
219272929d3429ab934b87c9a47282f3ef1486564be974f72e34923f9e0be01d
|
|
BLAKE2b-256 checksum How to use checksums |
1b53b9f212bee92c8d71e0f52ced404aef9d7b133588e8856c62331047cd83bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|