Skip to content

Instantly share code, notes, and snippets.

View anaarezo's full-sized avatar
🫖
Tea?

Ana Arezo anaarezo

🫖
Tea?
View GitHub Profile
@anaarezo
anaarezo / generic-waf-cdk-example_one.ts
Last active June 28, 2024 09:55 — forked from statik/waf.ts
WAF CDK examples with WAF Stack.
import * as cdk from "@aws-cdk/core";
import * as wafv2 from "@aws-cdk/aws-wafv2";
// This extends the base cdk stack properties to include a tag name input.
export interface StackProps extends cdk.StackProps {
tag: string;
applicationName?: string;
}
export class WAFStack extends cdk.Stack {