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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c0a82bd76d229dadf118e7ef8c22447e78a6284dec5a85e7f9da9335edc9155 |
|
MD5 | 56c93e0df51b63cb48fcb1606099db78 |
|
BLAKE2b-256 | e4070460ffb03b06969216ff67ca694cd56f99d11339444896f61e25f86c5604 |
Close
Hashes for gammarers.aws_waf_ip_restriction_rule_group-1.5.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c13751808805ff7067936bc3f880c78c19b99de093927adb353e0da7df5ec0b |
|
MD5 | 737da1cd92ff32fabc767ad32f74de41 |
|
BLAKE2b-256 | d19b6ebebfed429c02c03194f5d6c6904e42c7204e61455709ff924e1ad753ab |