interface LoggingFilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WAFv2.Mixins.CfnLoggingConfigurationPropsMixin.LoggingFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswafv2/mixins#CfnLoggingConfigurationPropsMixin_LoggingFilterProperty |
Java | software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnLoggingConfigurationPropsMixin.LoggingFilterProperty |
Python | aws_cdk.mixins_preview.aws_wafv2.mixins.CfnLoggingConfigurationPropsMixin.LoggingFilterProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wafv2 » mixins » CfnLoggingConfigurationPropsMixin » 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 { mixins as wafv2_mixins } from '@aws-cdk/mixins-preview/aws-wafv2';
const loggingFilterProperty: wafv2_mixins.CfnLoggingConfigurationPropsMixin.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
(optional)
Default handling for logs that don't match any of the specified filtering conditions.
filters?
Type:
IResolvable | (IResolvable | Filter)[]
(optional)
The filters that you want to apply to the logs.

.NET
Go
Java
Python
TypeScript