Class RuleGroupRuleAction


  • public final class RuleGroupRuleAction
    extends java.lang.Object
    • Method Detail

      • allow

        public java.util.Optional<RuleGroupRuleActionAllow> allow()
        Returns:
        Instructs AWS WAF to allow the web request. See Allow below for details.
      • block

        public java.util.Optional<RuleGroupRuleActionBlock> block()
        Returns:
        Instructs AWS WAF to block the web request. See Block below for details.
      • captcha

        public java.util.Optional<RuleGroupRuleActionCaptcha> captcha()
        Returns:
        Instructs AWS WAF to run a `CAPTCHA` check against the web request. See Captcha below for details.
      • challenge

        public java.util.Optional<RuleGroupRuleActionChallenge> challenge()
        Returns:
        Instructs AWS WAF to run a check against the request to verify that the request is coming from a legitimate client session. See Challenge below for details.
      • count

        public java.util.Optional<RuleGroupRuleActionCount> count()
        Returns:
        Instructs AWS WAF to count the web request and allow it. See Count below for details.
      • monetize

        public java.util.Optional<RuleGroupRuleActionMonetize> monetize()
        Returns:
        Instructs AWS WAF to monetize the web request, charging per request according to the rule group's `monetizationConfig`. See Monetize below for details.