Class CfnWebACL.ActionProperty
Specifies the action AWS WAF takes when a web request matches or doesn't match all rule conditions.
Inheritance
System.Object
CfnWebACL.ActionProperty
Implements
Namespace: Amazon.CDK.AWS.WAFRegional
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ActionProperty : Object, CfnWebACL.IActionProperty
Syntax (vb)
Public Class ActionProperty
Inherits Object
Implements CfnWebACL.IActionProperty
Remarks
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.WAFRegional;
var actionProperty = new ActionProperty {
Type = "type"
};
Synopsis
Constructors
ActionProperty() |
Properties
Type | For actions that are associated with a rule, the action that AWS WAF takes when a web request matches all conditions in a rule. |
Constructors
ActionProperty()
public ActionProperty()
Properties
Type
For actions that are associated with a rule, the action that AWS WAF takes when a web request matches all conditions in a rule.
public string Type { get; set; }
Property Value
System.String
Remarks
For the default action of a web access control list (ACL), the action that AWS WAF takes when a web request doesn't match all conditions in any rule.
Valid settings include the following: