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

File metadata

File hashes

Hashes for gammarers_aws_waf_ip_restriction_rule_group-1.5.12.tar.gz
Algorithm Hash digest
SHA256 59df4f12d213a37c33468c59fca47ab7cd12ee7294904e4e7366d9de685d6ae8
MD5 d092b6839d31c78fac842f65e5f48ca6
BLAKE2b-256 e06427855d50917b77c61c0c9076dad12b45cf81bcec66c116f379e1b5f8747c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gammarers.aws_waf_ip_restriction_rule_group-1.5.12-py3-none-any.whl
Algorithm Hash digest
SHA256 d939fcb9a7ccf757a30a175f1bb040dd75797d5df827d23493a280e45a94f840
MD5 92024d6b9fefe27f0ab98ae681488364
BLAKE2b-256 9759045576b320aedc48838ec03907fe0c31aed0ab2b20bc509e125c8960f15f

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