Class CfnWebACL.RateBasedStatementProperty.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnWebACL.RateBasedStatementProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACL.RateBasedStatementProperty
  • 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(CfnWebACL.RateBasedStatementProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnWebACL.RateBasedStatementProperty.Builder.
  • Method Details

    • getAggregateKeyType

      public final String getAggregateKeyType()
      Description copied from interface: CfnWebACL.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 CfnWebACL.RateBasedStatementProperty
    • getLimit

      public final Number getLimit()
      Description copied from interface: CfnWebACL.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 CfnWebACL.RateBasedStatementProperty
    • getForwardedIpConfig

      public final Object getForwardedIpConfig()
      Description copied from interface: CfnWebACL.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 CfnWebACL.RateBasedStatementProperty
    • getScopeDownStatement

      public final Object getScopeDownStatement()
      Description copied from interface: CfnWebACL.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 CfnWebACL.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