Class CfnWebACL.ActivatedRuleProperty.Jsii$Proxy

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

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

    • getPriority

      public final Number getPriority()
      Description copied from interface: CfnWebACL.ActivatedRuleProperty
      Specifies the order in which the Rules in a WebACL are evaluated.

      Rules with a lower value for Priority are evaluated before Rules with a higher value. The value must be a unique integer. If you add multiple Rules to a WebACL , the values don't need to be consecutive.

      Specified by:
      getPriority in interface CfnWebACL.ActivatedRuleProperty
    • getRuleId

      public final String getRuleId()
      Description copied from interface: CfnWebACL.ActivatedRuleProperty
      The RuleId for a Rule .

      You use RuleId to get more information about a Rule , update a Rule , insert a Rule into a WebACL or delete a one from a WebACL , or delete a Rule from AWS WAF .

      RuleId is returned by CreateRule and by ListRules .

      Specified by:
      getRuleId in interface CfnWebACL.ActivatedRuleProperty
    • getAction

      public final Object getAction()
      Description copied from interface: CfnWebACL.ActivatedRuleProperty
      Specifies the action that Amazon CloudFront or AWS WAF takes when a web request matches the conditions in the Rule .

      Valid values for Action include the following:

      • ALLOW : CloudFront responds with the requested object.
      • BLOCK : CloudFront responds with an HTTP 403 (Forbidden) status code.
      • COUNT : AWS WAF increments a counter of requests that match the conditions in the rule and then continues to inspect the web request based on the remaining rules in the web ACL.

      ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL . In this case, you do not use ActivatedRule|Action . For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction .

      Specified by:
      getAction in interface CfnWebACL.ActivatedRuleProperty
    • $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