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

File metadata

File hashes

Hashes for gammarers_aws_waf_ip_restriction_rule_group-1.5.11.tar.gz
Algorithm Hash digest
SHA256 d03e4c687fdbcb472b6d3fb1cd01bc78fc363e89ae96a003dcb1d5e0a0302ffa
MD5 0e8a94252c9ce81f1127f5e96e50af00
BLAKE2b-256 fe0cb165d8ede5cf2e5f56b7dfa0bf85f1ac854588ce88da5242d121208ca619

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gammarers.aws_waf_ip_restriction_rule_group-1.5.11-py3-none-any.whl
Algorithm Hash digest
SHA256 cdadc59ba9d0712ab4b5059ca364289b03ccf6befefaabca711ed8ca82c9b901
MD5 96abfe709005e3b68c38a93a81ea93d8
BLAKE2b-256 8746dc35882079c4c203d8c7032901b2f32c8fa3e8b14478d5b5158a1cc18959

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