Show / Hide Table of Contents

Class CfnTelemetryRule.FilterProperty

A single filter condition that specifies behavior, requirement, and matching conditions for WAF log records.

Inheritance
object
CfnTelemetryRule.FilterProperty
Implements
CfnTelemetryRule.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.ObservabilityAdmin
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTelemetryRule.FilterProperty : CfnTelemetryRule.IFilterProperty
Syntax (vb)
Public Class CfnTelemetryRule.FilterProperty Implements CfnTelemetryRule.IFilterProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-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.ObservabilityAdmin;

             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 filter condition that specifies behavior, requirement, and matching conditions for WAF log records.

Properties

Behavior

The action to take for log records matching this filter (KEEP or DROP).

Conditions

The list of conditions that determine if a log record matches this filter.

Requirement

Whether the log record must meet all conditions (MEETS_ALL) or any condition (MEETS_ANY) to match this filter.

Constructors

FilterProperty()

A single filter condition that specifies behavior, requirement, and matching conditions for WAF log records.

public FilterProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-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.ObservabilityAdmin;

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

Properties

Behavior

The action to take for log records matching this filter (KEEP or DROP).

public string? Behavior { get; set; }
Property Value

string

Remarks

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

Conditions

The list of conditions that determine if a log record matches this filter.

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

object

Remarks

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

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

Requirement

Whether the log record must meet all conditions (MEETS_ALL) or any condition (MEETS_ANY) to match this filter.

public string? Requirement { get; set; }
Property Value

string

Remarks

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

Implements

CfnTelemetryRule.IFilterProperty
Back to top Generated by DocFX