Skip to content
v2.273.0

FilterProperty Struct ​

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

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const filterProperty: observabilityadmin.CfnOrganizationTelemetryRule.FilterProperty = {
  behavior: 'behavior',
  conditions: [{
    actionCondition: {
      action: 'action',
    },
    labelNameCondition: {
      labelName: 'labelName',
    },
  }],
  requirement: 'requirement',
};

Properties ​

behaviorstringbehaviorstrbehaviorStringBehaviorstringBehavior*string#
The action to take for log records matching this filter (KEEP or DROP).
conditionsIResolvable | IResolvable | CfnOrganizationTelemetryRule.ConditionProperty[]conditionstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConditionProperty]]]conditionsIResolvableConditionsIResolvableConditionsinterface{}#
The list of conditions that determine if a log record matches this filter.
requirementstringrequirementstrrequirementStringRequirementstringRequirement*string#
Whether the log record must meet all conditions (MEETS_ALL) or any condition (MEETS_ANY) to match this filter.