Class CfnRateBasedRuleProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.waf.regional.CfnRateBasedRuleProps.Jsii$Proxy
All Implemented Interfaces:
CfnRateBasedRuleProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnRateBasedRuleProps

@Stability(Stable) @Internal public static final class CfnRateBasedRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRateBasedRuleProps
An implementation for CfnRateBasedRuleProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.waf.regional.CfnRateBasedRuleProps

    CfnRateBasedRuleProps.Builder, CfnRateBasedRuleProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnRateBasedRuleProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Object
    The Predicates object contains one Predicate element for each ByteMatchSet , IPSet , or SqlInjectionMatchSet> object that you want to include in a RateBasedRule .
    final String
    A name for the metrics for a RateBasedRule .
    final String
    A friendly name or description for a RateBasedRule .
    final String
    The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring.
    final Number
    The maximum number of requests, which have an identical value in the field specified by the RateKey , allowed in a five-minute period.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnRateBasedRuleProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnRateBasedRuleProps.Builder.
  • Method Details

    • getMetricName

      public final String getMetricName()
      Description copied from interface: CfnRateBasedRuleProps
      A name for the metrics for a RateBasedRule .

      The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF , including "All" and "Default_Action." You can't change the name of the metric after you create the RateBasedRule .

      Specified by:
      getMetricName in interface CfnRateBasedRuleProps
    • getName

      public final String getName()
      Description copied from interface: CfnRateBasedRuleProps
      A friendly name or description for a RateBasedRule .

      You can't change the name of a RateBasedRule after you create it.

      Specified by:
      getName in interface CfnRateBasedRuleProps
    • getRateKey

      public final String getRateKey()
      Description copied from interface: CfnRateBasedRuleProps
      The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring.

      The only valid value for RateKey is IP . IP indicates that requests arriving from the same IP address are subject to the RateLimit that is specified in the RateBasedRule .

      Specified by:
      getRateKey in interface CfnRateBasedRuleProps
    • getRateLimit

      public final Number getRateLimit()
      Description copied from interface: CfnRateBasedRuleProps
      The maximum number of requests, which have an identical value in the field specified by the RateKey , allowed in a five-minute period.

      If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.

      Specified by:
      getRateLimit in interface CfnRateBasedRuleProps
    • getMatchPredicates

      public final Object getMatchPredicates()
      Description copied from interface: CfnRateBasedRuleProps
      The Predicates object contains one Predicate element for each ByteMatchSet , IPSet , or SqlInjectionMatchSet> object that you want to include in a RateBasedRule .
      Specified by:
      getMatchPredicates in interface CfnRateBasedRuleProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object