Show / Hide Table of Contents

Interface CfnLoggingConfiguration.ILoggingFilterProperty

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

Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnLoggingConfiguration.ILoggingFilterProperty
Syntax (vb)
Public Interface 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

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.

Properties

DefaultBehavior

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

string DefaultBehavior { get; }
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.

object Filters { get; }
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)[]

Back to top Generated by DocFX