Class CfnWebACLPropsMixin.ActionProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.services.wafregional.mixins.CfnWebACLPropsMixin.ActionProperty.Jsii$Proxy
All Implemented Interfaces:
CfnWebACLPropsMixin.ActionProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnWebACLPropsMixin.ActionProperty

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

    • getType

      public final String getType()
      Description copied from interface: CfnWebACLPropsMixin.ActionProperty
      For actions that are associated with a rule, the action that AWS WAF takes when a web request matches all conditions in a rule.

      For the default action of a web access control list (ACL), the action that AWS WAF takes when a web request doesn't match all conditions in any 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 CfnWebACLPropsMixin.ActionProperty
      See Also:
    • $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