Skip to main content

This is an AWS CDK Construct for IP Restriction Rule Group on WAF V2

Project description

AWS WAF(V2) IP 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 IP Restriction Rule Group on WAF V2

Resources

This construct creating resource list.

  • WAF V2 RuleGroup

Install

TypeScript

npm install @gammarer/aws-waf-ip-restriction-rule-group
# or
yarn add @gammarer/aws-waf-ip-restriction-rule-group

Python

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

C# / .Net

dotnet add package Gammarer.CDK.AWS.WafIpRestrictionRuleGroup

Java

Add the following to pom.xml:

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

Example

import { WafIpRestrictRuleGroup } from '@gammarer/aws-waf-ip-restriction-rule-group';

declare const allowIpSet: waf.CfnIPSet;

new WafIpRestrictRuleGroup(stack, 'WafIpRestrictRuleGroup', {
  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)
  allowIpSetArn: allowIpSet.attrArn,
});

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 gammarer.aws-waf-ip-restriction-rule-group-1.3.6.tar.gz.

File metadata

File hashes

Hashes for gammarer.aws-waf-ip-restriction-rule-group-1.3.6.tar.gz
Algorithm Hash digest
SHA256 137c1790d6521b93c8f0c5b75546cd94831a89cc8152e03a18afd4ae2f4721c1
MD5 c963f065974d2f5971b7cab2af2ce5c9
BLAKE2b-256 287e593afb25a924e7aabfb9577b83a276396b49f038a9954e4b787b56d256f4

See more details on using hashes here.

File details

Details for the file gammarer.aws_waf_ip_restriction_rule_group-1.3.6-py3-none-any.whl.

File metadata

File hashes

Hashes for gammarer.aws_waf_ip_restriction_rule_group-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 219272929d3429ab934b87c9a47282f3ef1486564be974f72e34923f9e0be01d
MD5 745a2465867315c27d96ac68db2f9cf0
BLAKE2b-256 1b53b9f212bee92c8d71e0f52ced404aef9d7b133588e8856c62331047cd83bb

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