Show / Hide Table of Contents

Class CfnLoggingConfiguration.LoggingFilterProperty

Filtering that specifies which web requests are kept in the logs and which are dropped, defined for a web ACL's LoggingConfiguration .

Inheritance
object
CfnLoggingConfiguration.LoggingFilterProperty
Implements
CfnLoggingConfiguration.ILoggingFilterProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLoggingConfiguration.LoggingFilterProperty : CfnLoggingConfiguration.ILoggingFilterProperty
Syntax (vb)
Public Class CfnLoggingConfiguration.LoggingFilterProperty Implements CfnLoggingConfiguration.ILoggingFilterProperty
Remarks

You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-loggingfilter.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.AWS.WAFv2;

             var loggingFilterProperty = new LoggingFilterProperty {
                 DefaultBehavior = "defaultBehavior",
                 Filters = new [] { new FilterProperty {
                     Behavior = "behavior",
                     Conditions = new [] { new ConditionProperty {
                         ActionCondition = new ActionConditionProperty {
                             Action = "action"
                         },
                         LabelNameCondition = new LabelNameConditionProperty {
                             LabelName = "labelName"
                         }
                     } },
                     Requirement = "requirement"
                 } }
             };

Synopsis

Constructors

LoggingFilterProperty()

Filtering that specifies which web requests are kept in the logs and which are dropped, defined for a web ACL's LoggingConfiguration .

Properties

DefaultBehavior

Default handling for logs that don't match any of the specified filtering conditions.

Filters

The filters that you want to apply to the logs.

Constructors

LoggingFilterProperty()

Filtering that specifies which web requests are kept in the logs and which are dropped, defined for a web ACL's LoggingConfiguration .

public LoggingFilterProperty()
Remarks

You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-loggingfilter.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.AWS.WAFv2;

             var loggingFilterProperty = new LoggingFilterProperty {
                 DefaultBehavior = "defaultBehavior",
                 Filters = new [] { new FilterProperty {
                     Behavior = "behavior",
                     Conditions = new [] { new ConditionProperty {
                         ActionCondition = new ActionConditionProperty {
                             Action = "action"
                         },
                         LabelNameCondition = new LabelNameConditionProperty {
                             LabelName = "labelName"
                         }
                     } },
                     Requirement = "requirement"
                 } }
             };

Properties

DefaultBehavior

Default handling for logs that don't match any of the specified filtering conditions.

public string DefaultBehavior { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-loggingfilter.html#cfn-wafv2-loggingconfiguration-loggingfilter-defaultbehavior

Filters

The filters that you want to apply to the logs.

public object Filters { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-loggingfilter.html#cfn-wafv2-loggingconfiguration-loggingfilter-filters

Type union: either IResolvable or (either IResolvable or CfnLoggingConfiguration.IFilterProperty)[]

Implements

CfnLoggingConfiguration.ILoggingFilterProperty
Back to top Generated by DocFX