Interface CfnLoggingConfiguration.ConditionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLoggingConfiguration.ConditionProperty.Jsii$Proxy
Enclosing class:
CfnLoggingConfiguration

@Stability(Stable) public static interface CfnLoggingConfiguration.ConditionProperty extends software.amazon.jsii.JsiiSerializable
A single match condition for a log filter.

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.*;
 ConditionProperty conditionProperty = ConditionProperty.builder()
         .actionCondition(ActionConditionProperty.builder()
                 .action("action")
                 .build())
         .labelNameCondition(LabelNameConditionProperty.builder()
                 .labelName("labelName")
                 .build())
         .build();
 
  • Method Details

    • getActionCondition

      @Stability(Stable) @Nullable default Object getActionCondition()
      A single action condition.

      This is the action setting that a log record must contain in order to meet the condition.

    • getLabelNameCondition

      @Stability(Stable) @Nullable default Object getLabelNameCondition()
      A single label name condition.

      This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.

    • builder

      @Stability(Stable) static CfnLoggingConfiguration.ConditionProperty.Builder builder()
      Returns:
      a CfnLoggingConfiguration.ConditionProperty.Builder of CfnLoggingConfiguration.ConditionProperty