Interface CfnLoggingConfiguration.LoggingFilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoggingConfiguration.LoggingFilterProperty.Jsii$Proxy
- Enclosing class:
CfnLoggingConfiguration
@Stability(Stable)
public static interface CfnLoggingConfiguration.LoggingFilterProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.wafv2.*; LoggingFilterProperty loggingFilterProperty = LoggingFilterProperty.builder() .defaultBehavior("defaultBehavior") .filters(List.of(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())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLoggingConfiguration.LoggingFilterProperty
static final class
An implementation forCfnLoggingConfiguration.LoggingFilterProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Default handling for logs that don't match any of the specified filtering conditions.The filters that you want to apply to the logs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefaultBehavior
Default handling for logs that don't match any of the specified filtering conditions. -
getFilters
The filters that you want to apply to the logs. -
builder
-