Interface CfnRuleProps

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-17T21:37:40.491Z") @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.regional.*;
 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
     
    A name for 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