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
Close
Hashes for gammarers_aws_waf_ip_restriction_rule_group-1.5.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7301a512518b49b0d9a4c760193a06825e1415b27f1a633fbcabfcc103d4931f |
|
MD5 | 6d9d42f983d5fbc5912a754dfbe8f5ef |
|
BLAKE2b-256 | 1e10d64376ebd96c70c5532a1eef8b2f1a57066260eeadacc2e7aedc0704a100 |
Close
Hashes for gammarers.aws_waf_ip_restriction_rule_group-1.5.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09c83b70d47adf00f60c8076d05a187d0075e2aa35cc7afcb59b28e02df0d1be |
|
MD5 | 7b09efa368e24511ec6ff1b536318d1c |
|
BLAKE2b-256 | ea4e3759b1cf7e2923f1e4caaf1a92181bf2f88b98802a830f65fdfb51b4e584 |