interface LoggingFilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ObservabilityAdmin.Mixins.CfnTelemetryRulePropsMixin.LoggingFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsobservabilityadmin/mixins#CfnTelemetryRulePropsMixin_LoggingFilterProperty |
Java | software.amazon.awscdk.mixins.preview.services.observabilityadmin.mixins.CfnTelemetryRulePropsMixin.LoggingFilterProperty |
Python | aws_cdk.mixins_preview.aws_observabilityadmin.mixins.CfnTelemetryRulePropsMixin.LoggingFilterProperty |
TypeScript | @aws-cdk/mixins-preview » aws_observabilityadmin » mixins » CfnTelemetryRulePropsMixin » LoggingFilterProperty |
Configuration that determines which WAF log records to keep or drop based on specified conditions.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as observabilityadmin_mixins } from '@aws-cdk/mixins-preview/aws-observabilityadmin';
const loggingFilterProperty: observabilityadmin_mixins.CfnTelemetryRulePropsMixin.LoggingFilterProperty = {
defaultBehavior: 'defaultBehavior',
filters: [{
behavior: 'behavior',
conditions: [{
actionCondition: {
action: 'action',
},
labelNameCondition: {
labelName: 'labelName',
},
}],
requirement: 'requirement',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| default | string | The default action (KEEP or DROP) for log records that don't match any filter conditions. |
| filters? | IResolvable | (IResolvable | Filter)[] | A list of filter conditions that determine log record handling behavior. |
defaultBehavior?
Type:
string
(optional)
The default action (KEEP or DROP) for log records that don't match any filter conditions.
filters?
Type:
IResolvable | (IResolvable | Filter)[]
(optional)
A list of filter conditions that determine log record handling behavior.

.NET
Go
Java
Python
TypeScript