Class CfnWebACL.WafActionProperty.Jsii$Proxy

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

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

    • getType

      public final String getType()
      Description copied from interface: CfnWebACL.WafActionProperty
      Specifies how you want AWS WAF to respond to requests that match the settings in a Rule .

      Valid settings include the following:

      • ALLOW : AWS WAF allows requests
      • BLOCK : AWS WAF blocks requests
      • COUNT : AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL .
      Specified by:
      getType in interface CfnWebACL.WafActionProperty
    • $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