Skip to content
v2.274.0

LoggingFilterProperty Struct ​

Configuration that determines which WAF log records to keep or drop based on specified conditions.

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 loggingFilterProperty: observabilityadmin.CfnTelemetryRule.LoggingFilterProperty = {
  defaultBehavior: 'defaultBehavior',
  filters: [{
    behavior: 'behavior',
    conditions: [{
      actionCondition: {
        action: 'action',
      },
      labelNameCondition: {
        labelName: 'labelName',
      },
    }],
    requirement: 'requirement',
  }],
};

Properties ​

defaultBehaviorstringdefault_behaviorstrdefaultBehaviorStringDefaultBehaviorstringDefaultBehavior*string#
The default action (KEEP or DROP) for log records that don't match any filter conditions.
filtersIResolvable | IResolvable | CfnTelemetryRule.FilterProperty[]filterstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FilterProperty]]]filtersIResolvableFiltersIResolvableFiltersinterface{}#
A list of filter conditions that determine log record handling behavior.