interface FilterProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.WAFv2.CfnLoggingConfiguration.FilterProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnLoggingConfiguration_FilterProperty |
![]() | software.amazon.awscdk.services.wafv2.CfnLoggingConfiguration.FilterProperty |
![]() | aws_cdk.aws_wafv2.CfnLoggingConfiguration.FilterProperty |
![]() | aws-cdk-lib » aws_wafv2 » CfnLoggingConfiguration » FilterProperty |
A single logging filter, used in LoggingFilter
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const filterProperty: wafv2.CfnLoggingConfiguration.FilterProperty = {
behavior: 'behavior',
conditions: [{
actionCondition: {
action: 'action',
},
labelNameCondition: {
labelName: 'labelName',
},
}],
requirement: 'requirement',
};
Properties
Name | Type | Description |
---|---|---|
behavior | string | How to handle logs that satisfy the filter's conditions and requirement. |
conditions | IResolvable | IResolvable | Condition [] | Match conditions for the filter. |
requirement | string | Logic to apply to the filtering conditions. |
behavior
Type:
string
How to handle logs that satisfy the filter's conditions and requirement.
conditions
Type:
IResolvable
|
IResolvable
|
Condition
[]
Match conditions for the filter.
requirement
Type:
string
Logic to apply to the filtering conditions.
You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.