This is an AWS CDK Construct for Geo Restriction Rule Group on WAF V2
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gammarers_aws_waf_geo_restriction_rule_group-1.5.10.tar.gz
.
File metadata
- Download URL: gammarers_aws_waf_geo_restriction_rule_group-1.5.10.tar.gz
- Upload date:
- Size: 38.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0b167e9ac21093f9c858b9ed7ca9cbfbec808833b3e9ca1eadd01199390726f |
|
MD5 | 7029a15050b3326612fa870e41d5d74e |
|
BLAKE2b-256 | 796a61ff98417410b6e6d7a0370e8fdd38e84ac446e662419dd6e8c473ccabd5 |
File details
Details for the file gammarers.aws_waf_geo_restriction_rule_group-1.5.10-py3-none-any.whl
.
File metadata
- Download URL: gammarers.aws_waf_geo_restriction_rule_group-1.5.10-py3-none-any.whl
- Upload date:
- Size: 38.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1c321fcc631a27ce68b928f458716c76684778e36bf1ddad14513a45ea43e17 |
|
MD5 | 83a2dd6791f27a18c177b0b65c87b525 |
|
BLAKE2b-256 | f21469684a32cc369f5e8acfd8764dcdd277af0938075d3b08dcdc48b0990ce9 |