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
install by npm
npm install @gammarers/aws-waf-ip-restriction-rule-group
install by yarn
yarn add @gammarers/aws-waf-ip-restriction-rule-group
install by pnpm
pnpm add @gammarers/aws-waf-ip-restriction-rule-group
install by bun
bun add @gammarers/aws-waf-ip-restriction-rule-group
Python
pip install gammarers.aws-waf-ip-restriction-rule-group
C# / .Net
dotnet add package Gammarers.CDK.AWS.WafIpRestrictionRuleGroup
Example
import { WafIpRestrictRuleGroup } from '@gammarers/aws-waf-ip-restriction-rule-group';
declare const allowIpSet: waf.CfnIPSet;
new WafIpRestrictRuleGroup(stack, 'WafIpRestrictRuleGroup', {
scope: Scope.GLOBAL, // GLOBAL(CloudFront) or REGIONAL(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 gammarers.aws-waf-ip-restriction-rule-group 1.5.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gammarers_aws_waf_ip_restriction_rule_group-1.5.17.tar.gz | 35.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gammarers.aws_waf_ip_restriction_rule_group-1.5.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 70.6 kB
Release files / gammarers_aws_waf_ip_restriction_rule_group-1.5.17.tar.gz
| Download URL | gammarers_aws_waf_ip_restriction_rule_group-1.5.17.tar.gz |
|---|---|
| Size | 35.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0268f359552622ab8c27d55e64d8f562b823d334318614ebad5500a9bf51b6b
|
|
BLAKE2b-256 checksum How to use checksums |
ca5edb4cb88f04202ed89063e9dc0173238ee0da3f63296b9ce2790803ae384c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / gammarers.aws_waf_ip_restriction_rule_group-1.5.17-py3-none-any.whl
| Download URL | gammarers.aws_waf_ip_restriction_rule_group-1.5.17-py3-none-any.whl |
|---|---|
| Size | 34.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
edbc475071d1e0e09bed09c88966c1b7cfe4069df88bc2c87aba039fa54f8457
|
|
BLAKE2b-256 checksum How to use checksums |
b11d3922d1a169253039d7cf30b2578fe6865a00782c3285e4d3359bd5096e1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|