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
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.
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 gammarers_aws_waf_ip_restriction_rule_group-1.5.13.tar.gz
.
File metadata
- Download URL: gammarers_aws_waf_ip_restriction_rule_group-1.5.13.tar.gz
- Upload date:
- Size: 35.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f1a899b5a41f26554e73453a87612f7b2ea2df78e8f50edc743a2eb965c65d |
|
MD5 | 96fe541d5d938aad93a0aa5d79a54d0b |
|
BLAKE2b-256 | 3cf0a343aeec87ff559a4a94da3c2bec20e6df7ea5c02a4a80600977445e3962 |
File details
Details for the file gammarers.aws_waf_ip_restriction_rule_group-1.5.13-py3-none-any.whl
.
File metadata
- Download URL: gammarers.aws_waf_ip_restriction_rule_group-1.5.13-py3-none-any.whl
- Upload date:
- Size: 34.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce665463059a716ddf474636df8b94697753c8f88a82930a3ea839cecdd6245d |
|
MD5 | 437c7bee82690e3fca7551953fed83ad |
|
BLAKE2b-256 | 82989e04b0d0321a310f6fa9423f9bf214e7613a225e138add291a52155002c1 |