Show / Hide Table of Contents

Interface CfnLoggingConfiguration.IFilterProperty

A single logging filter, used in LoggingFilter .

Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnLoggingConfiguration.IFilterProperty
Syntax (vb)
Public Interface CfnLoggingConfiguration.IFilterProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-filter.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 filterProperty = new FilterProperty {
                 Behavior = "behavior",
                 Conditions = new [] { new ConditionProperty {
                     ActionCondition = new ActionConditionProperty {
                         Action = "action"
                     },
                     LabelNameCondition = new LabelNameConditionProperty {
                         LabelName = "labelName"
                     }
                 } },
                 Requirement = "requirement"
             };

Synopsis

Properties

Behavior

How to handle logs that satisfy the filter's conditions and requirement.

Conditions

Match conditions for the filter.

Requirement

Logic to apply to the filtering conditions.

Properties

Behavior

How to handle logs that satisfy the filter's conditions and requirement.

string Behavior { get; }
Property Value

string

Remarks

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

Conditions

Match conditions for the filter.

object Conditions { get; }
Property Value

object

Remarks

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

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

Requirement

Logic to apply to the filtering conditions.

string Requirement { get; }
Property Value

string

Remarks

You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.

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

Back to top Generated by DocFX