Package software.amazon.awscdk.services.waf
package software.amazon.awscdk.services.waf
AWS Web Application Firewall Construct Library
This module is part of the AWS Cloud Development Kit project.
import software.amazon.awscdk.services.waf.*;
There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:
- Search Construct Hub for WAF construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::WAF resources directly.
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::WAF.
(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)
-
ClassDescriptionA fluent builder for
CfnByteMatchSet.A builder forCfnByteMatchSet.ByteMatchTuplePropertyAn implementation forCfnByteMatchSet.ByteMatchTuplePropertyA builder forCfnByteMatchSet.FieldToMatchPropertyAn implementation forCfnByteMatchSet.FieldToMatchPropertyProperties for defining aCfnByteMatchSet.A builder forCfnByteMatchSetPropsAn implementation forCfnByteMatchSetPropsA fluent builder forCfnIPSet.A builder forCfnIPSet.IPSetDescriptorPropertyAn implementation forCfnIPSet.IPSetDescriptorPropertyProperties for defining aCfnIPSet.A builder forCfnIPSetPropsAn implementation forCfnIPSetPropsA fluent builder forCfnRule.Specifies theByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, andSizeConstraintSetobjects that you want to add to aRuleand, 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.A builder forCfnRule.PredicatePropertyAn implementation forCfnRule.PredicatePropertyProperties for defining aCfnRule.A builder forCfnRulePropsAn implementation forCfnRulePropsA fluent builder forCfnSizeConstraintSet.The part of a web request that you want to inspect, such as a specified header or a query string.A builder forCfnSizeConstraintSet.FieldToMatchPropertyAn implementation forCfnSizeConstraintSet.FieldToMatchPropertyA builder forCfnSizeConstraintSet.SizeConstraintPropertyAn implementation forCfnSizeConstraintSet.SizeConstraintPropertyProperties for defining aCfnSizeConstraintSet.A builder forCfnSizeConstraintSetPropsAn implementation forCfnSizeConstraintSetPropsA fluent builder forCfnSqlInjectionMatchSet.The part of a web request that you want to inspect, such as a specified header or a query string.A builder forCfnSqlInjectionMatchSet.FieldToMatchPropertyAn implementation forCfnSqlInjectionMatchSet.FieldToMatchPropertyA builder forCfnSqlInjectionMatchSet.SqlInjectionMatchTuplePropertyAn implementation forCfnSqlInjectionMatchSet.SqlInjectionMatchTuplePropertyProperties for defining aCfnSqlInjectionMatchSet.A builder forCfnSqlInjectionMatchSetPropsAn implementation forCfnSqlInjectionMatchSetPropsTheActivatedRuleobject in anUpdateWebACLrequest specifies aRulethat you want to insert or delete, the priority of theRulein theWebACL, and the action that you want AWS WAF to take when a web request matches theRule(ALLOW,BLOCK, orCOUNT).A builder forCfnWebACL.ActivatedRulePropertyAn implementation forCfnWebACL.ActivatedRulePropertyA fluent builder forCfnWebACL.A builder forCfnWebACL.WafActionPropertyAn implementation forCfnWebACL.WafActionPropertyProperties for defining aCfnWebACL.A builder forCfnWebACLPropsAn implementation forCfnWebACLPropsA fluent builder forCfnXssMatchSet.The part of a web request that you want to inspect, such as a specified header or a query string.A builder forCfnXssMatchSet.FieldToMatchPropertyAn implementation forCfnXssMatchSet.FieldToMatchPropertyA builder forCfnXssMatchSet.XssMatchTuplePropertyAn implementation forCfnXssMatchSet.XssMatchTuplePropertyProperties for defining aCfnXssMatchSet.A builder forCfnXssMatchSetPropsAn implementation forCfnXssMatchSetProps