Skip to main content

This is an AWS CDK Construct for Geo Restriction Rule Group on WAF V2

Project description

AWS WAF(v2) GEO Restriction Rule Group

GitHub npm (scoped) PyPI Nuget GitHub Workflow Status (branch) GitHub release (latest SemVer)

View on Construct Hub

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


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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file gammarers_aws_waf_geo_restriction_rule_group-1.5.18.tar.gz.

File metadata

File hashes

Hashes for gammarers_aws_waf_geo_restriction_rule_group-1.5.18.tar.gz
Algorithm Hash digest
SHA256 01600e3436625204ed5086a08d29b51c7fef210ddd493fcb98d10763d83916bb
MD5 2cf99a3ed7567f12820e2f7b0cc677e8
BLAKE2b-256 5bd3d4354cb85a7b2c8f78b2244aa18684365a7294d60dc41d5d62112dbed3c7

See more details on using hashes here.

File details

Details for the file gammarers.aws_waf_geo_restriction_rule_group-1.5.18-py3-none-any.whl.

File metadata

File hashes

Hashes for gammarers.aws_waf_geo_restriction_rule_group-1.5.18-py3-none-any.whl
Algorithm Hash digest
SHA256 10ec2edf41b5c0c9a7f224089e0d2dbe3556b1d5fba2fe2a275c366dd09c35f4
MD5 36b2dc24382988d68098a63e35fda348
BLAKE2b-256 a07cc794cecd8b90e6f7e872447b0a5ec5f9dcc764e29761d6b427d82f809391

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page