Class CfnWebACL.HeadersProperty.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

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

    • getMatchPattern

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

      You must specify exactly one setting: either All , IncludedHeaders , or ExcludedHeaders .

      Example JSON: "MatchPattern": { "ExcludedHeaders": {"KeyToExclude1", "KeyToExclude2"} }

      Specified by:
      getMatchPattern in interface CfnWebACL.HeadersProperty
    • getMatchScope

      public final String getMatchScope()
      Description copied from interface: CfnWebACL.HeadersProperty
      The parts of the headers to match with the rule inspection criteria.

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

      Specified by:
      getMatchScope in interface CfnWebACL.HeadersProperty
    • getOversizeHandling

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

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

      The options for oversize handling are the following:

      • CONTINUE - Inspect the available headers 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.HeadersProperty
    • $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