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

File details

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

File metadata

File hashes

Hashes for gammarers_aws_waf_geo_restriction_rule_group-1.5.7.tar.gz
Algorithm Hash digest
SHA256 1d64fbc136928a5d0908bc3cb89cdfeeb207f7f8ebb5bc9407efe767aadf3743
MD5 287ca4bf991f24b3ce85747b328d5826
BLAKE2b-256 b8cd042192c17934716da7622a1f9e1aa69e9e6e5e717656931ce4f99de2bfda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gammarers.aws_waf_geo_restriction_rule_group-1.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 156d2cd8dd0b548dcdb7f9399c89da0e938eae4547c20d80d9b89a8b7addab19
MD5 9cd8e61d9cb55a2f3511ac67afe279f9
BLAKE2b-256 1bf2339a32def516ba7c3b7a76a648f130d8f8074b3e80e14aff1580ef4e3b1b

See more details on using hashes here.

Supported by

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