Interface CfnLoggingConfiguration.FilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoggingConfiguration.FilterProperty.Jsii$Proxy
- Enclosing class:
CfnLoggingConfiguration
@Stability(Stable)
public static interface CfnLoggingConfiguration.FilterProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.wafv2.*;
FilterProperty filterProperty = FilterProperty.builder()
.behavior("behavior")
.conditions(List.of(ConditionProperty.builder()
.actionCondition(ActionConditionProperty.builder()
.action("action")
.build())
.labelNameCondition(LabelNameConditionProperty.builder()
.labelName("labelName")
.build())
.build()))
.requirement("requirement")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLoggingConfiguration.FilterPropertystatic final classAn implementation forCfnLoggingConfiguration.FilterProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()How to handle logs that satisfy the filter's conditions and requirement.Match conditions for the filter.Logic to apply to the filtering conditions.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBehavior
How to handle logs that satisfy the filter's conditions and requirement.- See Also:
-
getConditions
Match conditions for the filter.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLoggingConfiguration.ConditionProperty>- See Also:
-
getRequirement
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.
- See Also:
-
builder
-