# AWS WAF(V2) IP Restriction Rule Group
[](https://github.com/yicr/aws-waf-ip-restriction-rule-group/blob/main/LICENSE)
[](https://www.npmjs.com/package/@gammarer/aws-waf-ip-restriction-rule-group)
[](https://pypi.org/project/gammarer.aws-waf-ip-restriction-rule-group/)
[](https://www.nuget.org/packages/Gammarer.CDK.AWS.WafIpRestrictionRuleGroup/)
[](https://s01.oss.sonatype.org/content/repositories/releases/com/gammarer/aws-waf-ip-restriction-rule-group/)
[](https://github.com/yicr/aws-waf-ip-restriction-rule-group/actions/workflows/release.yml)
[](https://github.com/yicr/aws-waf-ip-restriction-rule-group/releases)
[](https://constructs.dev/packages/@gammarer/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
```shell
npm install @gammarer/aws-waf-ip-restriction-rule-group
# or
yarn add @gammarer/aws-waf-ip-restriction-rule-group
```
### Python
```shell
pip install gammarer.aws-waf-ip-restriction-rule-group
```
### C# / .Net
```shell
dotnet add package Gammarer.CDK.AWS.WafIpRestrictionRuleGroup
```
### Java
Add the following to pom.xml:
```xml
<dependency>
<groupId>com.gammarer</groupId>
<artifactId>aws-waf-ip-restriction-rule-group</artifactId>
</dependency>
```
## Example
```python
import { WafIpRestrictRuleGroup } from '@gammarer/aws-waf-ip-restriction-rule-group';
declare const allowIpSet: waf.CfnIPSet;
new WafIpRestrictRuleGroup(stack, 'WafIpRestrictRuleGroup', {
scope: Scope.GLOBAL, // GLOBAL(CloudFront) or REIGONAL(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/gammarer/aws-waf-ip-restriction-rule-group.git",
"name": "gammarer.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/28/7e/593afb25a924e7aabfb9577b83a276396b49f038a9954e4b787b56d256f4/gammarer.aws-waf-ip-restriction-rule-group-1.3.6.tar.gz",
"platform": null,
"description": "# AWS WAF(V2) IP Restriction Rule Group\n\n[](https://github.com/yicr/aws-waf-ip-restriction-rule-group/blob/main/LICENSE)\n[](https://www.npmjs.com/package/@gammarer/aws-waf-ip-restriction-rule-group)\n[](https://pypi.org/project/gammarer.aws-waf-ip-restriction-rule-group/)\n[](https://www.nuget.org/packages/Gammarer.CDK.AWS.WafIpRestrictionRuleGroup/)\n[](https://s01.oss.sonatype.org/content/repositories/releases/com/gammarer/aws-waf-ip-restriction-rule-group/)\n[](https://github.com/yicr/aws-waf-ip-restriction-rule-group/actions/workflows/release.yml)\n[](https://github.com/yicr/aws-waf-ip-restriction-rule-group/releases)\n\n[](https://constructs.dev/packages/@gammarer/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```shell\nnpm install @gammarer/aws-waf-ip-restriction-rule-group\n# or\nyarn add @gammarer/aws-waf-ip-restriction-rule-group\n```\n\n### Python\n\n```shell\npip install gammarer.aws-waf-ip-restriction-rule-group\n```\n\n### C# / .Net\n\n```shell\ndotnet add package Gammarer.CDK.AWS.WafIpRestrictionRuleGroup\n```\n\n### Java\n\nAdd the following to pom.xml:\n\n```xml\n<dependency>\n <groupId>com.gammarer</groupId>\n <artifactId>aws-waf-ip-restriction-rule-group</artifactId>\n</dependency>\n```\n\n## Example\n\n```python\nimport { WafIpRestrictRuleGroup } from '@gammarer/aws-waf-ip-restriction-rule-group';\n\ndeclare const allowIpSet: waf.CfnIPSet;\n\nnew WafIpRestrictRuleGroup(stack, 'WafIpRestrictRuleGroup', {\n scope: Scope.GLOBAL, // GLOBAL(CloudFront) or REIGONAL(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.3.6",
"project_urls": {
"Homepage": "https://github.com/gammarer/aws-waf-ip-restriction-rule-group.git",
"Source": "https://github.com/gammarer/aws-waf-ip-restriction-rule-group.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1b53b9f212bee92c8d71e0f52ced404aef9d7b133588e8856c62331047cd83bb",
"md5": "745a2465867315c27d96ac68db2f9cf0",
"sha256": "219272929d3429ab934b87c9a47282f3ef1486564be974f72e34923f9e0be01d"
},
"downloads": -1,
"filename": "gammarer.aws_waf_ip_restriction_rule_group-1.3.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "745a2465867315c27d96ac68db2f9cf0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.8",
"size": 34805,
"upload_time": "2024-04-22T19:21:48",
"upload_time_iso_8601": "2024-04-22T19:21:48.995019Z",
"url": "https://files.pythonhosted.org/packages/1b/53/b9f212bee92c8d71e0f52ced404aef9d7b133588e8856c62331047cd83bb/gammarer.aws_waf_ip_restriction_rule_group-1.3.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "287e593afb25a924e7aabfb9577b83a276396b49f038a9954e4b787b56d256f4",
"md5": "c963f065974d2f5971b7cab2af2ce5c9",
"sha256": "137c1790d6521b93c8f0c5b75546cd94831a89cc8152e03a18afd4ae2f4721c1"
},
"downloads": -1,
"filename": "gammarer.aws-waf-ip-restriction-rule-group-1.3.6.tar.gz",
"has_sig": false,
"md5_digest": "c963f065974d2f5971b7cab2af2ce5c9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.8",
"size": 35914,
"upload_time": "2024-04-22T19:21:59",
"upload_time_iso_8601": "2024-04-22T19:21:59.621599Z",
"url": "https://files.pythonhosted.org/packages/28/7e/593afb25a924e7aabfb9577b83a276396b49f038a9954e4b787b56d256f4/gammarer.aws-waf-ip-restriction-rule-group-1.3.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-22 19:21:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gammarer",
"github_project": "aws-waf-ip-restriction-rule-group",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gammarer.aws-waf-ip-restriction-rule-group"
}