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 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

install by npm

npm install @gammarers/aws-waf-ip-restriction-rule-group

install by yarn

yarn add @gammarers/aws-waf-ip-restriction-rule-group

install by pnpm

pnpm add @gammarers/aws-waf-ip-restriction-rule-group

install by bun

bun add @gammarers/aws-waf-ip-restriction-rule-group

Python

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

C# / .Net

dotnet add package Gammarers.CDK.AWS.WafIpRestrictionRuleGroup

Example

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

declare const allowIpSet: waf.CfnIPSet;

new WafIpRestrictRuleGroup(stack, 'WafIpRestrictRuleGroup', {
  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)
  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 gammarers_aws_waf_ip_restriction_rule_group-1.5.13.tar.gz.

File metadata

File hashes

Hashes for gammarers_aws_waf_ip_restriction_rule_group-1.5.13.tar.gz
Algorithm Hash digest
SHA256 88f1a899b5a41f26554e73453a87612f7b2ea2df78e8f50edc743a2eb965c65d
MD5 96fe541d5d938aad93a0aa5d79a54d0b
BLAKE2b-256 3cf0a343aeec87ff559a4a94da3c2bec20e6df7ea5c02a4a80600977445e3962

See more details on using hashes here.

File details

Details for the file gammarers.aws_waf_ip_restriction_rule_group-1.5.13-py3-none-any.whl.

File metadata

File hashes

Hashes for gammarers.aws_waf_ip_restriction_rule_group-1.5.13-py3-none-any.whl
Algorithm Hash digest
SHA256 ce665463059a716ddf474636df8b94697753c8f88a82930a3ea839cecdd6245d
MD5 437c7bee82690e3fca7551953fed83ad
BLAKE2b-256 82989e04b0d0321a310f6fa9423f9bf214e7613a225e138add291a52155002c1

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