Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gammarers/aws-waf-ip-restriction-rule-group
This is an AWS CDK Construct for IP Restriction Rule Group on WAF V2
https://github.com/gammarers/aws-waf-ip-restriction-rule-group
aws aws-cdk cdk ip restrict waf
Last synced: about 2 months ago
JSON representation
This is an AWS CDK Construct for IP Restriction Rule Group on WAF V2
- Host: GitHub
- URL: https://github.com/gammarers/aws-waf-ip-restriction-rule-group
- Owner: gammarers
- License: apache-2.0
- Created: 2023-08-02T07:52:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-04T19:26:13.000Z (about 2 months ago)
- Last Synced: 2024-11-07T17:50:59.034Z (about 2 months ago)
- Topics: aws, aws-cdk, cdk, ip, restrict, waf
- Language: TypeScript
- Homepage:
- Size: 1020 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS WAF(V2) IP Restriction Rule Group
[![GitHub](https://img.shields.io/github/license/gammarers/aws-waf-ip-restriction-rule-group?style=flat-square)](https://github.com/gammarers/aws-waf-ip-restriction-rule-group/blob/main/LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@gammarers/aws-waf-ip-restriction-rule-group?style=flat-square)](https://www.npmjs.com/package/@gammarers/aws-waf-ip-restriction-rule-group)
[![PyPI](https://img.shields.io/pypi/v/gammarers.aws-waf-ip-restriction-rule-group?style=flat-square)](https://pypi.org/project/gammarers.aws-waf-ip-restriction-rule-group/)
[![Nuget](https://img.shields.io/nuget/v/Gammarers.CDK.AWS.WafIpRestrictionRuleGroup?style=flat-square)](https://www.nuget.org/packages/Gammarers.CDK.AWS.WafIpRestrictionRuleGroup/)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/gammarers/aws-waf-ip-restriction-rule-group/release.yml?branch=main&label=release&style=flat-square)](https://github.com/gammarers/aws-waf-ip-restriction-rule-group/actions/workflows/release.yml)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/gammarers/aws-waf-ip-restriction-rule-group?sort=semver&style=flat-square)](https://github.com/gammarers/aws-waf-ip-restriction-rule-group/releases)[![View on Construct Hub](https://constructs.dev/badge?package=@gammarers/aws-waf-ip-restriction-rule-group)](https://constructs.dev/packages/@gammarers/aws-waf-ip-restriction-rule-group)
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
```shell
npm install @gammarers/aws-waf-ip-restriction-rule-group
```#### install by yarn
```shell
yarn add @gammarers/aws-waf-ip-restriction-rule-group
```#### install by pnpm
```shell
pnpm add @gammarers/aws-waf-ip-restriction-rule-group
```#### install by bun
```shell
bun add @gammarers/aws-waf-ip-restriction-rule-group
```### Python
```shell
pip install gammarers.aws-waf-ip-restriction-rule-group
```### C# / .Net
```shell
dotnet add package Gammarers.CDK.AWS.WafIpRestrictionRuleGroup
```## Example
```typescript
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.