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

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


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

File metadata

File hashes

Hashes for gammarers.aws-waf-geo-restriction-rule-group-1.4.6.tar.gz
Algorithm Hash digest
SHA256 f472120f20b90eabf9f18417ca3ddd1f773f4123e52560c0e8a722312e1e26c5
MD5 c771d4a4997477e72d30056aca8964dd
BLAKE2b-256 c3cf05e963262da245e124491041ed4f46aa56950f24a8a39d57a07eff37dd30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gammarers.aws_waf_geo_restriction_rule_group-1.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c9840c32c135cc49534eb2db9d0074e4f4042eef71e256a8d3aa2c4df2c094d0
MD5 f2160038bd6af0355465bef9c86ecfef
BLAKE2b-256 31a5a35c31e0552dd5ac4c9a13a7a8e6e04ddd6b9385113fcff46359767d0350

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