interface LoggingFilterProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.WAFv2.CfnLoggingConfiguration.LoggingFilterProperty | 
  Java | software.amazon.awscdk.services.wafv2.CfnLoggingConfiguration.LoggingFilterProperty | 
  Python | aws_cdk.aws_wafv2.CfnLoggingConfiguration.LoggingFilterProperty | 
  TypeScript  | @aws-cdk/aws-wafv2 » CfnLoggingConfiguration » LoggingFilterProperty | 
Filtering that specifies which web requests are kept in the logs and which are dropped, defined for a web ACL's LoggingConfiguration .
You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as wafv2 from '@aws-cdk/aws-wafv2';
const loggingFilterProperty: wafv2.CfnLoggingConfiguration.LoggingFilterProperty = {
  defaultBehavior: 'defaultBehavior',
  filters: [{
    behavior: 'behavior',
    conditions: [{
      actionCondition: {
        action: 'action',
      },
      labelNameCondition: {
        labelName: 'labelName',
      },
    }],
    requirement: 'requirement',
  }],
};
Properties
| Name | Type | Description | 
|---|---|---|
| default | string | Default handling for logs that don't match any of the specified filtering conditions. | 
| filters | IResolvable | IResolvable | Filter[] | The filters that you want to apply to the logs. | 
defaultBehavior
Type:
string
Default handling for logs that don't match any of the specified filtering conditions.
filters
Type:
IResolvable | IResolvable | Filter[]
The filters that you want to apply to the logs.

 .NET
 Java
 Python
 TypeScript