AWS WAF(v2) 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
npm install @gammarer/aws-waf-geo-restriction-rule-group
# or
yarn add @gammarer/aws-waf-geo-restriction-rule-group
Python
pip install gammarer.aws-waf-geo-restriction-rule-group
C# / .Net
dotnet add package Gammarer.CDK.AWS.WafGeoRestrictionRuleGroup
Java
Add the following to pom.xml:
<dependency>
<groupId>com.gammarer</groupId>
<artifactId>aws-waf-geo-restriction-rule-group</artifactId>
</dependency>
Example
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.
Metadata
Release files for gammarer.aws-waf-geo-restriction-rule-group 1.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gammarer.aws-waf-geo-restriction-rule-group-1.3.5.tar.gz | 38.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gammarer.aws_waf_geo_restriction_rule_group-1.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.9 kB
Release files / gammarer.aws-waf-geo-restriction-rule-group-1.3.5.tar.gz
| Download URL | gammarer.aws-waf-geo-restriction-rule-group-1.3.5.tar.gz |
|---|---|
| Size | 38.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7b01b37040f6a05bd6d2035d02d75d4a2b58eb4b777b9934a88afa62f5b39d1
|
|
BLAKE2b-256 checksum How to use checksums |
ec4d37927885a0174256e9724e7293160f86aec713affec464a510659460ff34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / gammarer.aws_waf_geo_restriction_rule_group-1.3.5-py3-none-any.whl
| Download URL | gammarer.aws_waf_geo_restriction_rule_group-1.3.5-py3-none-any.whl |
|---|---|
| Size | 38.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4698a391bc6410f1d7f3cb4c71b5cea66c46677ad06a733a8e14eb2eac8f4596
|
|
BLAKE2b-256 checksum How to use checksums |
7a94dd9a344c999dceae682f8efcf0bbb8ed8dec3f5041b2f26c59059a30906a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|