Show / Hide Table of Contents

Class CfnWebACLPropsMixin.OverrideActionProperty

The action to use in the place of the action that results from the rule group evaluation.

Inheritance
object
CfnWebACLPropsMixin.OverrideActionProperty
Implements
CfnWebACLPropsMixin.IOverrideActionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.WAFv2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnWebACLPropsMixin.OverrideActionProperty : CfnWebACLPropsMixin.IOverrideActionProperty
Syntax (vb)
Public Class CfnWebACLPropsMixin.OverrideActionProperty Implements CfnWebACLPropsMixin.IOverrideActionProperty
Remarks

Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.

You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement .

This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead use the rule action override option, with <code>Count</code> action, in your rule group reference statement settings.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-overrideaction.html

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.CfnPropertyMixins.AWS.WAFv2;

             var count;
             var none;

             var overrideActionProperty = new OverrideActionProperty {
                 Count = count,
                 None = none
             };

Synopsis

Constructors

OverrideActionProperty()

The action to use in the place of the action that results from the rule group evaluation.

Properties

Count

Override the rule group evaluation result to count only.

None

Don't override the rule group evaluation result.

Constructors

OverrideActionProperty()

The action to use in the place of the action that results from the rule group evaluation.

public OverrideActionProperty()
Remarks

Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.

You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement .

This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead use the rule action override option, with <code>Count</code> action, in your rule group reference statement settings.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-overrideaction.html

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.CfnPropertyMixins.AWS.WAFv2;

             var count;
             var none;

             var overrideActionProperty = new OverrideActionProperty {
                 Count = count,
                 None = none
             };

Properties

Count

Override the rule group evaluation result to count only.

public object? Count { get; set; }
Property Value

object

Remarks
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead use the rule action override option, with <code>Count</code> action, in your rule group reference statement settings.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-overrideaction.html#cfn-wafv2-webacl-overrideaction-count

None

Don't override the rule group evaluation result.

public object? None { get; set; }
Property Value

object

Remarks

This is the most common setting.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-overrideaction.html#cfn-wafv2-webacl-overrideaction-none

Implements

CfnWebACLPropsMixin.IOverrideActionProperty
Back to top Generated by DocFX