Show / Hide Table of Contents

Class CfnLoggingConfiguration.FilterProperty

A single logging filter, used in LoggingFilter .

Inheritance
object
CfnLoggingConfiguration.FilterProperty
Implements
CfnLoggingConfiguration.IFilterProperty
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.FilterProperty : CfnLoggingConfiguration.IFilterProperty
Syntax (vb)
Public Class CfnLoggingConfiguration.FilterProperty Implements 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

Constructors

FilterProperty()

A single logging filter, used in LoggingFilter .

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.

Constructors

FilterProperty()

A single logging filter, used in LoggingFilter .

public FilterProperty()
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"
             };

Properties

Behavior

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

public string Behavior { get; set; }
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.

public object Conditions { get; set; }
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.

public string Requirement { get; set; }
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

Implements

CfnLoggingConfiguration.IFilterProperty
Back to top Generated by DocFX