interface FilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WAFv2.Mixins.CfnLoggingConfigurationPropsMixin.FilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswafv2/mixins#CfnLoggingConfigurationPropsMixin_FilterProperty |
Java | software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnLoggingConfigurationPropsMixin.FilterProperty |
Python | aws_cdk.mixins_preview.aws_wafv2.mixins.CfnLoggingConfigurationPropsMixin.FilterProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wafv2 » mixins » 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 { mixins as wafv2_mixins } from '@aws-cdk/mixins-preview/aws-wafv2';
const filterProperty: wafv2_mixins.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