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.14.tar.gz.

File metadata

File hashes

Hashes for gammarers_aws_waf_geo_restriction_rule_group-1.5.14.tar.gz
Algorithm Hash digest
SHA256 ec6c043db3bfe427d22fe88016ed59413514141cbc07df86432a5233884a39ea
MD5 d4d98a7c64e3e012c4bf6c43753ae9e2
BLAKE2b-256 aae8a414bb4c065ebee2e896e7c877ee1a46bf9817d16f5b31a44638e3141276

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gammarers.aws_waf_geo_restriction_rule_group-1.5.14-py3-none-any.whl
Algorithm Hash digest
SHA256 c7963812097e019c9feea2d787b0243b489d293007cbfb54dfc807cbacbd0e65
MD5 96501e297e7d5332d847c721b09e85bb
BLAKE2b-256 301e0055b6bacf8a2c3245368c5b438e016ac20bfac58979818f718f0ecf2a26

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