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

File metadata

File hashes

Hashes for gammarers_aws_waf_geo_restriction_rule_group-1.5.5.tar.gz
Algorithm Hash digest
SHA256 bc2035f37035ac58c8918c2f95ecfcc528d983d16dea23d8c1bc2de0dbcdd534
MD5 148ff1fcfecb42359f134fc8fc3321ca
BLAKE2b-256 3e780fd2ad072617c9bd2c4bd70ce437b91a681fbb80389c4685f5e67cbecf7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gammarers.aws_waf_geo_restriction_rule_group-1.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0c62ecdf9889e4b7d94f8e497c3dd3545e9ac804b52ce7716afc37212791eb15
MD5 d4aded75acd601926c563c4ba0e04641
BLAKE2b-256 e0492673439869f87f764e9ec2ce61c0bfb47a3e03dc4dd66be555bb8e55aad0

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