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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file gammarers_aws_waf_ip_restriction_rule_group-1.5.17.tar.gz.

File metadata

File hashes

Hashes for gammarers_aws_waf_ip_restriction_rule_group-1.5.17.tar.gz
Algorithm Hash digest
SHA256 a0268f359552622ab8c27d55e64d8f562b823d334318614ebad5500a9bf51b6b
MD5 08b3210358d930481de43824eaef2cbc
BLAKE2b-256 ca5edb4cb88f04202ed89063e9dc0173238ee0da3f63296b9ce2790803ae384c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gammarers.aws_waf_ip_restriction_rule_group-1.5.17-py3-none-any.whl
Algorithm Hash digest
SHA256 edbc475071d1e0e09bed09c88966c1b7cfe4069df88bc2c87aba039fa54f8457
MD5 9852ce98cf230d0f4bc5216253b2cf0e
BLAKE2b-256 b11d3922d1a169253039d7cf30b2578fe6865a00782c3285e4d3359bd5096e1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page