# AWS WAF(V2) IP Restriction Rule Group
[](https://github.com/gammarers/aws-waf-ip-restriction-rule-group/blob/main/LICENSE)
[](https://www.npmjs.com/package/@gammarers/aws-waf-ip-restriction-rule-group)
[](https://pypi.org/project/gammarers.aws-waf-ip-restriction-rule-group/)
[](https://www.nuget.org/packages/Gammarers.CDK.AWS.WafIpRestrictionRuleGroup/)
[](https://github.com/gammarers/aws-waf-ip-restriction-rule-group/actions/workflows/release.yml)
[](https://github.com/gammarers/aws-waf-ip-restriction-rule-group/releases)
[](https://constructs.dev/packages/@gammarers/aws-waf-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
```shell
npm install @gammarers/aws-waf-ip-restriction-rule-group
```
#### install by yarn
```shell
yarn add @gammarers/aws-waf-ip-restriction-rule-group
```
#### install by pnpm
```shell
pnpm add @gammarers/aws-waf-ip-restriction-rule-group
```
#### install by bun
```shell
bun add @gammarers/aws-waf-ip-restriction-rule-group
```
### Python
```shell
pip install gammarers.aws-waf-ip-restriction-rule-group
```
### C# / .Net
```shell
dotnet add package Gammarers.CDK.AWS.WafIpRestrictionRuleGroup
```
## Example
```python
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/gammarers/aws-waf-ip-restriction-rule-group.git",
"name": "gammarers.aws-waf-ip-restriction-rule-group",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.8",
"maintainer_email": null,
"keywords": null,
"author": "yicr<yicr@users.noreply.github.com>",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/ca/5e/db4cb88f04202ed89063e9dc0173238ee0da3f63296b9ce2790803ae384c/gammarers_aws_waf_ip_restriction_rule_group-1.5.17.tar.gz",
"platform": null,
"description": "# AWS WAF(V2) IP Restriction Rule Group\n\n[](https://github.com/gammarers/aws-waf-ip-restriction-rule-group/blob/main/LICENSE)\n[](https://www.npmjs.com/package/@gammarers/aws-waf-ip-restriction-rule-group)\n[](https://pypi.org/project/gammarers.aws-waf-ip-restriction-rule-group/)\n[](https://www.nuget.org/packages/Gammarers.CDK.AWS.WafIpRestrictionRuleGroup/)\n[](https://github.com/gammarers/aws-waf-ip-restriction-rule-group/actions/workflows/release.yml)\n[](https://github.com/gammarers/aws-waf-ip-restriction-rule-group/releases)\n\n[](https://constructs.dev/packages/@gammarers/aws-waf-ip-restriction-rule-group)\n\nThis is an AWS CDK Construct for IP Restriction Rule Group on WAF V2\n\n## Resources\n\nThis construct creating resource list.\n\n* WAF V2 RuleGroup\n\n## Install\n\n### TypeScript\n\n#### install by npm\n\n```shell\nnpm install @gammarers/aws-waf-ip-restriction-rule-group\n```\n\n#### install by yarn\n\n```shell\nyarn add @gammarers/aws-waf-ip-restriction-rule-group\n```\n\n#### install by pnpm\n\n```shell\npnpm add @gammarers/aws-waf-ip-restriction-rule-group\n```\n\n#### install by bun\n\n```shell\nbun add @gammarers/aws-waf-ip-restriction-rule-group\n```\n\n### Python\n\n```shell\npip install gammarers.aws-waf-ip-restriction-rule-group\n```\n\n### C# / .Net\n\n```shell\ndotnet add package Gammarers.CDK.AWS.WafIpRestrictionRuleGroup\n```\n\n## Example\n\n```python\nimport { WafIpRestrictRuleGroup } from '@gammarers/aws-waf-ip-restriction-rule-group';\n\ndeclare const allowIpSet: waf.CfnIPSet;\n\nnew WafIpRestrictRuleGroup(stack, 'WafIpRestrictRuleGroup', {\n 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)\n allowIpSetArn: allowIpSet.attrArn,\n});\n```\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "This is an AWS CDK Construct for IP Restriction Rule Group on WAF V2",
"version": "1.5.17",
"project_urls": {
"Homepage": "https://github.com/gammarers/aws-waf-ip-restriction-rule-group.git",
"Source": "https://github.com/gammarers/aws-waf-ip-restriction-rule-group.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b11d3922d1a169253039d7cf30b2578fe6865a00782c3285e4d3359bd5096e1c",
"md5": "9852ce98cf230d0f4bc5216253b2cf0e",
"sha256": "edbc475071d1e0e09bed09c88966c1b7cfe4069df88bc2c87aba039fa54f8457"
},
"downloads": -1,
"filename": "gammarers.aws_waf_ip_restriction_rule_group-1.5.17-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9852ce98cf230d0f4bc5216253b2cf0e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.8",
"size": 34912,
"upload_time": "2024-12-16T19:26:12",
"upload_time_iso_8601": "2024-12-16T19:26:12.515190Z",
"url": "https://files.pythonhosted.org/packages/b1/1d/3922d1a169253039d7cf30b2578fe6865a00782c3285e4d3359bd5096e1c/gammarers.aws_waf_ip_restriction_rule_group-1.5.17-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ca5edb4cb88f04202ed89063e9dc0173238ee0da3f63296b9ce2790803ae384c",
"md5": "08b3210358d930481de43824eaef2cbc",
"sha256": "a0268f359552622ab8c27d55e64d8f562b823d334318614ebad5500a9bf51b6b"
},
"downloads": -1,
"filename": "gammarers_aws_waf_ip_restriction_rule_group-1.5.17.tar.gz",
"has_sig": false,
"md5_digest": "08b3210358d930481de43824eaef2cbc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.8",
"size": 35713,
"upload_time": "2024-12-16T19:26:14",
"upload_time_iso_8601": "2024-12-16T19:26:14.735622Z",
"url": "https://files.pythonhosted.org/packages/ca/5e/db4cb88f04202ed89063e9dc0173238ee0da3f63296b9ce2790803ae384c/gammarers_aws_waf_ip_restriction_rule_group-1.5.17.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-16 19:26:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gammarers",
"github_project": "aws-waf-ip-restriction-rule-group",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gammarers.aws-waf-ip-restriction-rule-group"
}