Class CfnWebACL.WafActionProperty
AWS WAF Classic support will end on September 30, 2025.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.WAF
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWebACL.WafActionProperty : CfnWebACL.IWafActionProperty
Syntax (vb)
Public Class CfnWebACL.WafActionProperty Implements CfnWebACL.IWafActionProperty
Remarks
This is <em>AWS WAF Classic</em> documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> in the developer guide.
For the latest version of AWS WAF , use the AWS WAF V2 API and see the AWS WAF Developer Guide . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
For the action that is associated with a rule in a WebACL
, specifies the action that you want AWS WAF to perform when a web request matches all of the conditions in a rule. For the default action in a WebACL
, specifies the action that you want AWS WAF to take when a web request doesn't match all of the conditions in any of the rules in a WebACL
.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAF;
var wafActionProperty = new WafActionProperty {
Type = "type"
};
Synopsis
Constructors
WafActionProperty() | AWS WAF Classic support will end on September 30, 2025. |
Properties
Type | Specifies how you want AWS WAF to respond to requests that match the settings in a |
Constructors
WafActionProperty()
AWS WAF Classic support will end on September 30, 2025.
public WafActionProperty()
Remarks
This is <em>AWS WAF Classic</em> documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> in the developer guide.
For the latest version of AWS WAF , use the AWS WAF V2 API and see the AWS WAF Developer Guide . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
For the action that is associated with a rule in a WebACL
, specifies the action that you want AWS WAF to perform when a web request matches all of the conditions in a rule. For the default action in a WebACL
, specifies the action that you want AWS WAF to take when a web request doesn't match all of the conditions in any of the rules in a WebACL
.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAF;
var wafActionProperty = new WafActionProperty {
Type = "type"
};
Properties
Type
Specifies how you want AWS WAF to respond to requests that match the settings in a Rule
.
public string Type { get; set; }
Property Value
Remarks
Valid settings include the following: