Class CfnRuleGroup.RateBasedStatementProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.wafv2.CfnRuleGroup.RateBasedStatementProperty.Jsii$Proxy
All Implemented Interfaces:
CfnRuleGroup.RateBasedStatementProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnRuleGroup.RateBasedStatementProperty

@Stability(Stable) @Internal public static final class CfnRuleGroup.RateBasedStatementProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRuleGroup.RateBasedStatementProperty
  • Constructor Details

  • Method Details

    • getAggregateKeyType

      public final String getAggregateKeyType()
      Description copied from interface: CfnRuleGroup.RateBasedStatementProperty
      Setting that indicates how to aggregate the request counts. The options are the following:.

      • IP - Aggregate the request counts on the IP address from the web request origin.
      • FORWARDED_IP - Aggregate the request counts on the first IP address in an HTTP header. If you use this, configure the ForwardedIPConfig , to specify the header to use.

      You can only use the IP and FORWARDED_IP key types.

      Specified by:
      getAggregateKeyType in interface CfnRuleGroup.RateBasedStatementProperty
    • getLimit

      public final Number getLimit()
      Description copied from interface: CfnRuleGroup.RateBasedStatementProperty
      The limit on requests per 5-minute period for a single originating IP address.

      If the statement includes a ScopeDownStatement , this limit is applied only to the requests that match the statement.

      Specified by:
      getLimit in interface CfnRuleGroup.RateBasedStatementProperty
    • getForwardedIpConfig

      public final Object getForwardedIpConfig()
      Description copied from interface: CfnRuleGroup.RateBasedStatementProperty
      The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.

      Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.

      If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.

      This is required if you specify a forwarded IP in the rule's aggregate key settings.

      Specified by:
      getForwardedIpConfig in interface CfnRuleGroup.RateBasedStatementProperty
    • getScopeDownStatement

      public final Object getScopeDownStatement()
      Description copied from interface: CfnRuleGroup.RateBasedStatementProperty
      An optional nested statement that narrows the scope of the web requests that are evaluated by the rate-based statement.

      Requests are only tracked by the rate-based statement if they match the scope-down statement. You can use any nestable statement in the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement.

      Specified by:
      getScopeDownStatement in interface CfnRuleGroup.RateBasedStatementProperty
    • $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