# AWS WAF(v2) GEO Restriction Rule Group
[](https://github.com/gammarers/aws-waf-geo-restriction-rule-group/blob/main/LICENSE)
[](https://www.npmjs.com/package/@gammarers/aws-waf-geo-restriction-rule-group)
[](https://pypi.org/project/gammarers.aws-waf-geo-restriction-rule-group/)
[](https://www.nuget.org/packages/Gammarers.CDK.AWS.WafGeoRestrictionRuleGroup/)
[](https://github.com/gammarers/aws-waf-geo-restriction-rule-group/actions/workflows/release.yml)
[](https://github.com/gammarers/aws-waf-geo-restriction-rule-group/releases)
[](https://constructs.dev/packages/@gammarers/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
#### install by npm
```shell
npm install @gammarers/aws-waf-geo-restriction-rule-group
```
#### install by yarn
```shell
yarn add @gammarers/aws-waf-geo-restriction-rule-group
```
#### install by pnpm
```shell
pnpm add @gammarers/aws-waf-geo-restriction-rule-group
```
#### install by bun
```shell
bun add @gammarers/aws-waf-geo-restriction-rule-group
```
### Python
```shell
pip install gammarers.aws-waf-geo-restriction-rule-group
```
### C# / .Net
```shell
dotnet add package Gammarers.CDK.AWS.WafGeoRestrictionRuleGroup
```
## Example
```python
import { WafGeoRestrictRuleGroup } from '@gammarers/aws-waf-geo-restriction-rule-group';
new WafGeoRestrictRuleGroup(stack, 'WafGeoRestrictRuleGroup', {
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)
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/gammarers/aws-waf-geo-restriction-rule-group.git",
"name": "gammarers.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/82/9f/05828a420f9b9935c842ffcf28d0be9d23846004b5e554f23d2afa9126b6/gammarers_aws_waf_geo_restriction_rule_group-1.5.17.tar.gz",
"platform": null,
"description": "# AWS WAF(v2) GEO Restriction Rule Group\n\n[](https://github.com/gammarers/aws-waf-geo-restriction-rule-group/blob/main/LICENSE)\n[](https://www.npmjs.com/package/@gammarers/aws-waf-geo-restriction-rule-group)\n[](https://pypi.org/project/gammarers.aws-waf-geo-restriction-rule-group/)\n[](https://www.nuget.org/packages/Gammarers.CDK.AWS.WafGeoRestrictionRuleGroup/)\n[](https://github.com/gammarers/aws-waf-geo-restriction-rule-group/actions/workflows/release.yml)\n[](https://github.com/gammarers/aws-waf-geo-restriction-rule-group/releases)\n\n[](https://constructs.dev/packages/@gammarers/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#### install by npm\n\n```shell\nnpm install @gammarers/aws-waf-geo-restriction-rule-group\n```\n\n#### install by yarn\n\n```shell\nyarn add @gammarers/aws-waf-geo-restriction-rule-group\n```\n\n#### install by pnpm\n\n```shell\npnpm add @gammarers/aws-waf-geo-restriction-rule-group\n```\n\n#### install by bun\n\n```shell\nbun add @gammarers/aws-waf-geo-restriction-rule-group\n```\n\n### Python\n\n```shell\npip install gammarers.aws-waf-geo-restriction-rule-group\n```\n\n### C# / .Net\n\n```shell\ndotnet add package Gammarers.CDK.AWS.WafGeoRestrictionRuleGroup\n```\n\n## Example\n\n```python\nimport { WafGeoRestrictRuleGroup } from '@gammarers/aws-waf-geo-restriction-rule-group';\n\nnew WafGeoRestrictRuleGroup(stack, 'WafGeoRestrictRuleGroup', {\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 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.5.17",
"project_urls": {
"Homepage": "https://github.com/gammarers/aws-waf-geo-restriction-rule-group.git",
"Source": "https://github.com/gammarers/aws-waf-geo-restriction-rule-group.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "090718e6ad01071853e406a67edee4d4c6585a903abbb8d63f5d310f3d5c4dfd",
"md5": "a41a10058dfee36f1d72027128d8252a",
"sha256": "abd172b719acdce76e20fb03c3302311a3b85e6cf8825d0a781c25a22f257136"
},
"downloads": -1,
"filename": "gammarers.aws_waf_geo_restriction_rule_group-1.5.17-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a41a10058dfee36f1d72027128d8252a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.8",
"size": 38192,
"upload_time": "2024-12-16T19:26:39",
"upload_time_iso_8601": "2024-12-16T19:26:39.715291Z",
"url": "https://files.pythonhosted.org/packages/09/07/18e6ad01071853e406a67edee4d4c6585a903abbb8d63f5d310f3d5c4dfd/gammarers.aws_waf_geo_restriction_rule_group-1.5.17-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "829f05828a420f9b9935c842ffcf28d0be9d23846004b5e554f23d2afa9126b6",
"md5": "607c322ccb9d34f43356ca878a647e76",
"sha256": "ad7a1de50586af42c6bda94be69cc11f4b8f58bcecdacf47b6b8439df45de91a"
},
"downloads": -1,
"filename": "gammarers_aws_waf_geo_restriction_rule_group-1.5.17.tar.gz",
"has_sig": false,
"md5_digest": "607c322ccb9d34f43356ca878a647e76",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.8",
"size": 38810,
"upload_time": "2024-12-16T19:26:40",
"upload_time_iso_8601": "2024-12-16T19:26:40.851170Z",
"url": "https://files.pythonhosted.org/packages/82/9f/05828a420f9b9935c842ffcf28d0be9d23846004b5e554f23d2afa9126b6/gammarers_aws_waf_geo_restriction_rule_group-1.5.17.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-16 19:26:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gammarers",
"github_project": "aws-waf-geo-restriction-rule-group",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gammarers.aws-waf-geo-restriction-rule-group"
}