Package software.amazon.awscdk.services.waf
AWS Web Application Firewall Construct Library
---
AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2.
For more information on how to migrate, see the Migrating to AWS CDK v2 guide.
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.)
Deprecated: AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2. For more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html
-
ClassDescriptionA CloudFormation
AWS::WAF::ByteMatchSet.A fluent builder forCfnByteMatchSet.A builder forCfnByteMatchSet.ByteMatchTuplePropertyAn implementation forCfnByteMatchSet.ByteMatchTuplePropertyA builder forCfnByteMatchSet.FieldToMatchPropertyAn implementation forCfnByteMatchSet.FieldToMatchPropertyProperties for defining aCfnByteMatchSet.A builder forCfnByteMatchSetPropsAn implementation forCfnByteMatchSetPropsA CloudFormationAWS::WAF::IPSet.A fluent builder forCfnIPSet.A builder forCfnIPSet.IPSetDescriptorPropertyAn implementation forCfnIPSet.IPSetDescriptorPropertyProperties for defining aCfnIPSet.A builder forCfnIPSetPropsAn implementation forCfnIPSetPropsA CloudFormationAWS::WAF::Rule.A 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 CloudFormationAWS::WAF::SizeConstraintSet.A 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 CloudFormationAWS::WAF::SqlInjectionMatchSet.A 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 forCfnSqlInjectionMatchSetPropsA CloudFormationAWS::WAF::WebACL.TheActivatedRuleobject 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 CloudFormationAWS::WAF::XssMatchSet.A 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