interface FilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.WAFv2.CfnLoggingConfigurationPropsMixin.FilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awswafv2#CfnLoggingConfigurationPropsMixin_FilterProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnLoggingConfigurationPropsMixin.FilterProperty |
Python | aws_cdk.cfn_property_mixins.aws_wafv2.CfnLoggingConfigurationPropsMixin.FilterProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_wafv2 » CfnLoggingConfigurationPropsMixin » 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/cfn-property-mixins';
const filterProperty: wafv2.CfnLoggingConfigurationPropsMixin.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
(optional)
How to handle logs that satisfy the filter's conditions and requirement.
conditions?
Type:
IResolvable | (IResolvable | Condition)[]
(optional)
Match conditions for the filter.
requirement?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript