public static interface CfnLoggingConfiguration.FilterProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnLoggingConfiguration.FilterProperty.Builder
A builder for
CfnLoggingConfiguration.FilterProperty |
static class |
CfnLoggingConfiguration.FilterProperty.Jsii$Proxy
An implementation for
CfnLoggingConfiguration.FilterProperty |
Modifier and Type | Method and Description |
---|---|
static CfnLoggingConfiguration.FilterProperty.Builder |
builder() |
java.lang.String |
getBehavior()
How to handle logs that satisfy the filter's conditions and requirement.
|
java.lang.Object |
getConditions()
Match conditions for the filter.
|
java.lang.String |
getRequirement()
Logic to apply to the filtering conditions.
|
java.lang.String getBehavior()
java.lang.Object getConditions()
java.lang.String getRequirement()
You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.
static CfnLoggingConfiguration.FilterProperty.Builder builder()