Class CfnRuleGroup.HeadersProperty.Jsii$Proxy

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

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

    • getMatchPattern

      public final Object getMatchPattern()
      Description copied from interface: CfnRuleGroup.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 CfnRuleGroup.HeadersProperty
    • getMatchScope

      public final String getMatchScope()
      Description copied from interface: CfnRuleGroup.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 CfnRuleGroup.HeadersProperty
    • getOversizeHandling

      public final String getOversizeHandling()
      Description copied from interface: CfnRuleGroup.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 CfnRuleGroup.HeadersProperty
    • $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