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

File metadata

File hashes

Hashes for gammarers_aws_waf_geo_restriction_rule_group-1.5.2.tar.gz
Algorithm Hash digest
SHA256 458880f298d059bd9a285c8b21cad4a0797015526730bd0ae0e15c29af6b8cbb
MD5 402bea4fe9f080adf5b0d3a77cd82673
BLAKE2b-256 2e0b64ee649c80e401660d5e3b78b3755d15acd885695b7a7e0ab0cd7a22e597

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gammarers.aws_waf_geo_restriction_rule_group-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8611e48100251548dc306d45b1ec427fcc0d20ace5cc5d5f8cbc6845ce4d4be8
MD5 6ebf1c3128d2cdeab8716d2beb57026a
BLAKE2b-256 c4b7b743a105f525050aa94d0f67b40ac776795cf98fdd92b7ceafeb66c4ae0f

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