Skip to content
v2.273.0

AWS WAF Regional Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as wafregional from 'aws-cdk-lib/aws-wafregional';
python
import aws_cdk.aws_wafregional as wafregional
java
import software.amazon.awscdk.services.waf.regional.*;
csharp
using Amazon.CDK.AWS.WAFRegional;
go
import wafregional "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::WAFRegional.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnByteMatchSetConstruct (L1)> This is AWS WAF Classic documentation.
CfnGeoMatchSetConstruct (L1)> AWS WAF Classic support will end on September 30, 2025.
CfnIPSetConstruct (L1)> AWS WAF Classic support will end on September 30, 2025.
CfnRateBasedRuleConstruct (L1)> This is AWS WAF Classic documentation.
CfnRegexPatternSetConstruct (L1)The RegexPatternSet specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as B[a@]dB[o0]t .
CfnRuleConstruct (L1)> This is AWS WAF Classic documentation.
CfnSizeConstraintSetConstruct (L1)> AWS WAF Classic support will end on September 30, 2025.
CfnSqlInjectionMatchSetConstruct (L1)> AWS WAF Classic support will end on September 30, 2025.
CfnWebACLConstruct (L1)> This is AWS WAF Classic documentation.
CfnWebACLAssociationConstruct (L1)> This is AWS WAF Classic documentation.
CfnXssMatchSetConstruct (L1)> AWS WAF Classic support will end on September 30, 2025.
CfnByteMatchSet.ByteMatchTuplePropertyStruct> AWS WAF Classic support will end on September 30, 2025.
CfnByteMatchSet.FieldToMatchPropertyStruct> AWS WAF Classic support will end on September 30, 2025.
CfnByteMatchSetPropsStructProperties for defining a CfnByteMatchSet.
CfnGeoMatchSet.GeoMatchConstraintPropertyStruct> AWS WAF Classic support will end on September 30, 2025.
CfnGeoMatchSetPropsStructProperties for defining a CfnGeoMatchSet.
CfnIPSet.IPSetDescriptorPropertyStruct> AWS WAF Classic support will end on September 30, 2025.
CfnIPSetPropsStructProperties for defining a CfnIPSet.
CfnRateBasedRule.PredicatePropertyStructSpecifies the ByteMatchSet , IPSet , SqlInjectionMatchSet , XssMatchSet , RegexMatchSet , GeoMatchSet , and SizeConstraintSet objects that you want to add to a Rule and, for each object, indicates whether you want to negate the settings, for example, requests that do NOT originate from the IP address 192.0.2.44.
CfnRateBasedRulePropsStructProperties for defining a CfnRateBasedRule.
CfnRegexPatternSetPropsStructProperties for defining a CfnRegexPatternSet.
CfnRule.PredicatePropertyStructSpecifies the ByteMatchSet , IPSet , SqlInjectionMatchSet , XssMatchSet , RegexMatchSet , GeoMatchSet , and SizeConstraintSet objects that you want to add to a Rule and, for each object, indicates whether you want to negate the settings, for example, requests that do NOT originate from the IP address 192.0.2.44.
CfnRulePropsStructProperties for defining a CfnRule.
CfnSizeConstraintSet.FieldToMatchPropertyStructThe part of a web request that you want AWS WAF to inspect, such as a specific header or a query string.
CfnSizeConstraintSet.SizeConstraintPropertyStruct> AWS WAF Classic support will end on September 30, 2025.
CfnSizeConstraintSetPropsStructProperties for defining a CfnSizeConstraintSet.
CfnSqlInjectionMatchSet.FieldToMatchPropertyStructThe part of a web request that you want AWS WAF to inspect, such as a specific header or a query string.
CfnSqlInjectionMatchSet.SqlInjectionMatchTuplePropertyStruct> AWS WAF Classic support will end on September 30, 2025.
CfnSqlInjectionMatchSetPropsStructProperties for defining a CfnSqlInjectionMatchSet.
CfnWebACL.ActionPropertyStructSpecifies the action AWS WAF takes when a web request matches or doesn't match all rule conditions.
CfnWebACL.RulePropertyStructA combination of ByteMatchSet , IPSet , and/or SqlInjectionMatchSet objects that identify the web requests that you want to allow, block, or count.
CfnWebACLAssociationPropsStructProperties for defining a CfnWebACLAssociation.
CfnWebACLPropsStructProperties for defining a CfnWebACL.
CfnXssMatchSet.FieldToMatchPropertyStructThe part of a web request that you want AWS WAF to inspect, such as a specific header or a query string.
CfnXssMatchSet.XssMatchTuplePropertyStruct> AWS WAF Classic support will end on September 30, 2025.
CfnXssMatchSetPropsStructProperties for defining a CfnXssMatchSet.