Class CfnWebACL.CookiesProperty.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class CfnWebACL.CookiesProperty.Jsii$Proxy extends implements CfnWebACL.CookiesProperty
An implementation for CfnWebACL.CookiesProperty
  • Constructor Details

    • Jsii$Proxy

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

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

    • getMatchPattern

      public final Object getMatchPattern()
      Description copied from interface: CfnWebACL.CookiesProperty
      The filter to use to identify the subset of cookies to inspect in a web request.

      You must specify exactly one setting: either All , IncludedCookies , or ExcludedCookies .

      Example JSON: "MatchPattern": { "IncludedCookies": {"KeyToInclude1", "KeyToInclude2", "KeyToInclude3"} }

      Specified by:
      getMatchPattern in interface CfnWebACL.CookiesProperty
    • getMatchScope

      public final String getMatchScope()
      Description copied from interface: CfnWebACL.CookiesProperty
      The parts of the cookies to inspect with the rule inspection criteria.

      If you specify All , AWS WAF inspects both keys and values.

      Specified by:
      getMatchScope in interface CfnWebACL.CookiesProperty
    • getOversizeHandling

      public final String getOversizeHandling()
      Description copied from interface: CfnWebACL.CookiesProperty
      What AWS WAF should do if the cookies of the request are more numerous or larger than AWS WAF can inspect.

      AWS WAF does not support inspecting the entire contents of request cookies when they exceed 8 KB (8192 bytes) or 200 total cookies. The underlying host service forwards a maximum of 200 cookies and at most 8 KB of cookie contents to AWS WAF .

      The options for oversize handling are the following:

      • CONTINUE - Inspect the available cookies normally, according to the rule inspection criteria.
      • MATCH - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request.
      • NO_MATCH - Treat the web request as not matching the rule statement.
      Specified by:
      getOversizeHandling in interface CfnWebACL.CookiesProperty
    • $jsii$toJson

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

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

      public final int hashCode()
      hashCode in class Object