1.4.2 • Published 5 days ago

@gammarers/aws-waf-geo-restriction-rule-group v1.4.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 days ago

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.

1.4.2

5 days ago

1.4.1

16 days ago

1.4.0

16 days ago