Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RuleAction

import type { RuleAction } from "https://aws-api.deno.dev/v0.4/services/wafv2.ts?docs=full";

The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.

interface RuleAction {
Allow?: AllowAction | null;
Block?: BlockAction | null;
Captcha?: CaptchaAction | null;
Challenge?: ChallengeAction | null;
Count?: CountAction | null;
}

§Properties

§
Allow?: AllowAction | null
[src]

Instructs WAF to allow the web request.

§
Block?: BlockAction | null
[src]

Instructs WAF to block the web request.

§
Captcha?: CaptchaAction | null
[src]

Instructs WAF to run a CAPTCHA check against the web request.

§
Challenge?: ChallengeAction | null
[src]

Instructs WAF to run a Challenge check against the web request.

§
Count?: CountAction | null
[src]

Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.