# AWS WAF(v2) GEO Restriction Rule Group
[](https://github.com/gammarer/aws-waf-geo-restriction-rule-group/blob/main/LICENSE)
[](https://www.npmjs.com/package/@gammarer/aws-waf-geo-restriction-rule-group)
[](https://pypi.org/project/gammarer.aws-waf-geo-restriction-rule-group/)
[](https://www.nuget.org/packages/Gammarer.CDK.AWS.WafGeoRestrictionRuleGroup/)
[](https://s01.oss.sonatype.org/content/repositories/releases/com/gammarer/aws-waf-geo-restriction-rule-group/)
[](https://github.com/gammarer/aws-waf-geo-restriction-rule-group/actions/workflows/release.yml)
[](https://github.com/gammarer/aws-waf-geo-restriction-rule-group/releases)
[](https://constructs.dev/packages/@gammarer/aws-waf-geo-restriction-rule-group)
This is an AWS CDK Construct for Geo Restriction Rule Group on WAF V2
## Resources
This construct creating resource list.
* WAF V2 RuleGroup
## Install
### TypeScript
```shell
npm install @gammarer/aws-waf-geo-restriction-rule-group
# or
yarn add @gammarer/aws-waf-geo-restriction-rule-group
```
### Python
```shell
pip install gammarer.aws-waf-geo-restriction-rule-group
```
### C# / .Net
```shell
dotnet add package Gammarer.CDK.AWS.WafGeoRestrictionRuleGroup
```
### Java
Add the following to pom.xml:
```xml
<dependency>
<groupId>com.gammarer</groupId>
<artifactId>aws-waf-geo-restriction-rule-group</artifactId>
</dependency>
```
## Example
```python
import { WafGeoRestrictRuleGroup } from '@gammarer/aws-waf-geo-restriction-rule-group';
new WafGeoRestrictRuleGroup(stack, 'WafGeoRestrictRuleGroup', {
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)
allowCountries: ['JP'], // alpha-2 country and region codes from the International Organization for Standardization (ISO) 3166 standard
});
```
## License
This project is licensed under the Apache-2.0 License.
Raw data
{
"_id": null,
"home_page": "https://github.com/gammarer/aws-waf-geo-restriction-rule-group.git",
"name": "gammarer.aws-waf-geo-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/ec/4d/37927885a0174256e9724e7293160f86aec713affec464a510659460ff34/gammarer.aws-waf-geo-restriction-rule-group-1.3.5.tar.gz",
"platform": null,
"description": "# AWS WAF(v2) GEO Restriction Rule Group\n\n[](https://github.com/gammarer/aws-waf-geo-restriction-rule-group/blob/main/LICENSE)\n[](https://www.npmjs.com/package/@gammarer/aws-waf-geo-restriction-rule-group)\n[](https://pypi.org/project/gammarer.aws-waf-geo-restriction-rule-group/)\n[](https://www.nuget.org/packages/Gammarer.CDK.AWS.WafGeoRestrictionRuleGroup/)\n[](https://s01.oss.sonatype.org/content/repositories/releases/com/gammarer/aws-waf-geo-restriction-rule-group/)\n[](https://github.com/gammarer/aws-waf-geo-restriction-rule-group/actions/workflows/release.yml)\n[](https://github.com/gammarer/aws-waf-geo-restriction-rule-group/releases)\n\n[](https://constructs.dev/packages/@gammarer/aws-waf-geo-restriction-rule-group)\n\nThis is an AWS CDK Construct for Geo 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-geo-restriction-rule-group\n# or\nyarn add @gammarer/aws-waf-geo-restriction-rule-group\n```\n\n### Python\n\n```shell\npip install gammarer.aws-waf-geo-restriction-rule-group\n```\n\n### C# / .Net\n\n```shell\ndotnet add package Gammarer.CDK.AWS.WafGeoRestrictionRuleGroup\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-geo-restriction-rule-group</artifactId>\n</dependency>\n```\n\n## Example\n\n```python\nimport { WafGeoRestrictRuleGroup } from '@gammarer/aws-waf-geo-restriction-rule-group';\n\nnew WafGeoRestrictRuleGroup(stack, 'WafGeoRestrictRuleGroup', {\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 allowCountries: ['JP'], // alpha-2 country and region codes from the International Organization for Standardization (ISO) 3166 standard\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 Geo Restriction Rule Group on WAF V2",
"version": "1.3.5",
"project_urls": {
"Homepage": "https://github.com/gammarer/aws-waf-geo-restriction-rule-group.git",
"Source": "https://github.com/gammarer/aws-waf-geo-restriction-rule-group.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7a94dd9a344c999dceae682f8efcf0bbb8ed8dec3f5041b2f26c59059a30906a",
"md5": "be72fcdef00510717391edfbe758e393",
"sha256": "4698a391bc6410f1d7f3cb4c71b5cea66c46677ad06a733a8e14eb2eac8f4596"
},
"downloads": -1,
"filename": "gammarer.aws_waf_geo_restriction_rule_group-1.3.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "be72fcdef00510717391edfbe758e393",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.8",
"size": 38046,
"upload_time": "2024-04-22T19:22:16",
"upload_time_iso_8601": "2024-04-22T19:22:16.438282Z",
"url": "https://files.pythonhosted.org/packages/7a/94/dd9a344c999dceae682f8efcf0bbb8ed8dec3f5041b2f26c59059a30906a/gammarer.aws_waf_geo_restriction_rule_group-1.3.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ec4d37927885a0174256e9724e7293160f86aec713affec464a510659460ff34",
"md5": "c4a9e1b2d9be17a82bd64c0bcf96e062",
"sha256": "f7b01b37040f6a05bd6d2035d02d75d4a2b58eb4b777b9934a88afa62f5b39d1"
},
"downloads": -1,
"filename": "gammarer.aws-waf-geo-restriction-rule-group-1.3.5.tar.gz",
"has_sig": false,
"md5_digest": "c4a9e1b2d9be17a82bd64c0bcf96e062",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.8",
"size": 38873,
"upload_time": "2024-04-22T19:22:18",
"upload_time_iso_8601": "2024-04-22T19:22:18.739195Z",
"url": "https://files.pythonhosted.org/packages/ec/4d/37927885a0174256e9724e7293160f86aec713affec464a510659460ff34/gammarer.aws-waf-geo-restriction-rule-group-1.3.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-22 19:22:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gammarer",
"github_project": "aws-waf-geo-restriction-rule-group",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gammarer.aws-waf-geo-restriction-rule-group"
}