Interface CfnRuleProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRuleProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:25.768Z") @Stability(Stable) public interface CfnRuleProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnRule.

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.waf.*;
 CfnRuleProps cfnRuleProps = CfnRuleProps.builder()
         .metricName("metricName")
         .name("name")
         // the properties below are optional
         .predicates(List.of(PredicateProperty.builder()
                 .dataId("dataId")
                 .negated(false)
                 .type("type")
                 .build()))
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CfnRuleProps
    static final class 
    An implementation for CfnRuleProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    The name of the metrics for this Rule .
    The friendly name or description for the Rule .
    default Object
    The Predicates object contains one Predicate element for each ByteMatchSet , IPSet , or SqlInjectionMatchSet object that you want to include in a Rule .

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson