interface FilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ObservabilityAdmin.Mixins.CfnTelemetryRulePropsMixin.FilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsobservabilityadmin/mixins#CfnTelemetryRulePropsMixin_FilterProperty |
Java | software.amazon.awscdk.mixins.preview.services.observabilityadmin.mixins.CfnTelemetryRulePropsMixin.FilterProperty |
Python | aws_cdk.mixins_preview.aws_observabilityadmin.mixins.CfnTelemetryRulePropsMixin.FilterProperty |
TypeScript | @aws-cdk/mixins-preview » aws_observabilityadmin » mixins » CfnTelemetryRulePropsMixin » FilterProperty |
A single filter condition that specifies behavior, requirement, and matching conditions for WAF log records.
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 filterProperty: observabilityadmin_mixins.CfnTelemetryRulePropsMixin.FilterProperty = {
behavior: 'behavior',
conditions: [{
actionCondition: {
action: 'action',
},
labelNameCondition: {
labelName: 'labelName',
},
}],
requirement: 'requirement',
};
Properties
| Name | Type | Description |
|---|---|---|
| behavior? | string | The action to take for log records matching this filter (KEEP or DROP). |
| conditions? | IResolvable | (IResolvable | Condition)[] | The list of conditions that determine if a log record matches this filter. |
| requirement? | string | Whether the log record must meet all conditions (MEETS_ALL) or any condition (MEETS_ANY) to match this filter. |
behavior?
Type:
string
(optional)
The action to take for log records matching this filter (KEEP or DROP).
conditions?
Type:
IResolvable | (IResolvable | Condition)[]
(optional)
The list of conditions that determine if a log record matches this filter.
requirement?
Type:
string
(optional)
Whether the log record must meet all conditions (MEETS_ALL) or any condition (MEETS_ANY) to match this filter.

.NET
Go
Java
Python
TypeScript