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
npm install @gammarers/aws-waf-geo-restriction-rule-group
# or
yarn 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.4.16.tar.gz
.
File metadata
- Download URL: gammarers_aws_waf_geo_restriction_rule_group-1.4.16.tar.gz
- Upload date:
- Size: 38.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6244b62db988a013971017f5a575047b852c8f2e86468fcc54ab02dc1ed2a800 |
|
MD5 | 30dda49d4030f3bf54f8ceca4988efca |
|
BLAKE2b-256 | 8fadc794fbb5f4dcf523ad76090bff8421964e43160058b82567f5852e573f06 |
File details
Details for the file gammarers.aws_waf_geo_restriction_rule_group-1.4.16-py3-none-any.whl
.
File metadata
- Download URL: gammarers.aws_waf_geo_restriction_rule_group-1.4.16-py3-none-any.whl
- Upload date:
- Size: 37.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf5589d5ef46d29db86037796013fe3cf31862930d3115ef16cf00128f034fa2 |
|
MD5 | 77a44455b98a5ca2ad5be8f6c423b089 |
|
BLAKE2b-256 | a9b2c2148eafc6ab8fbfb5515db5a2ae858fc5e7fa31c6555180dabd34397ea8 |