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
install by npm
npm install @gammarers/aws-waf-geo-restriction-rule-group
install by yarn
yarn add @gammarers/aws-waf-geo-restriction-rule-group
install by pnpm
pnpm add @gammarers/aws-waf-geo-restriction-rule-group
install by bun
bun add @gammarers/aws-waf-geo-restriction-rule-group
Python
pip install gammarers.aws-waf-geo-restriction-rule-group
C# / .Net
dotnet add package Gammarers.CDK.AWS.WafGeoRestrictionRuleGroup
Example
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.
Metadata
Release files for gammarers.aws-waf-geo-restriction-rule-group 1.5.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gammarers_aws_waf_geo_restriction_rule_group-1.5.18.tar.gz | 38.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gammarers.aws_waf_geo_restriction_rule_group-1.5.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 77.0 kB
Release files / gammarers_aws_waf_geo_restriction_rule_group-1.5.18.tar.gz
| Download URL | gammarers_aws_waf_geo_restriction_rule_group-1.5.18.tar.gz |
|---|---|
| Size | 38.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01600e3436625204ed5086a08d29b51c7fef210ddd493fcb98d10763d83916bb
|
|
BLAKE2b-256 checksum How to use checksums |
5bd3d4354cb85a7b2c8f78b2244aa18684365a7294d60dc41d5d62112dbed3c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / gammarers.aws_waf_geo_restriction_rule_group-1.5.18-py3-none-any.whl
| Download URL | gammarers.aws_waf_geo_restriction_rule_group-1.5.18-py3-none-any.whl |
|---|---|
| Size | 38.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10ec2edf41b5c0c9a7f224089e0d2dbe3556b1d5fba2fe2a275c366dd09c35f4
|
|
BLAKE2b-256 checksum How to use checksums |
a07cc794cecd8b90e6f7e872447b0a5ec5f9dcc764e29761d6b427d82f809391
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|