This package has been deprecated

Author message:

WARNING: This project has been renamed to @gammarers/aws-waf-geo-restriction-rule-group. Install using @gammarers/aws-waf-geo-restriction-rule-group instead.

@gammarer/aws-waf-geo-restriction-rule-group
TypeScript icon, indicating that this package has built-in type declarations

1.3.5 • Public • Published

AWS WAF(v2) GEO Restriction Rule Group

GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) 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 @gammarer/aws-waf-geo-restriction-rule-group
# or
yarn add @gammarer/aws-waf-geo-restriction-rule-group

Python

pip install gammarer.aws-waf-geo-restriction-rule-group

C# / .Net

dotnet add package Gammarer.CDK.AWS.WafGeoRestrictionRuleGroup

Java

Add the following to pom.xml:

<dependency>
  <groupId>com.gammarer</groupId>
  <artifactId>aws-waf-geo-restriction-rule-group</artifactId>
</dependency>

Example

import { WafGeoRestrictRuleGroup } from '@gammarer/aws-waf-geo-restriction-rule-group';

new WafGeoRestrictRuleGroup(stack, 'WafGeoRestrictRuleGroup', {
  scope: Scope.GLOBAL, // GLOBAL(CloudFront) or REIGONAL(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.

Readme

Keywords

Package Sidebar

Install

npm i @gammarer/aws-waf-geo-restriction-rule-group

Weekly Downloads

71

Version

1.3.5

License

Apache-2.0

Unpacked Size

191 kB

Total Files

7

Last publish

Collaborators

  • yicr