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

BlockAction

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

Specifies that WAF should block the request and optionally defines additional custom handling for the response to the web request.

This is used in the context of other settings, for example to specify values for "RuleAction" and web ACL "DefaultAction".

interface BlockAction {
CustomResponse?: CustomResponse | null;
}

§Properties

§
CustomResponse?: CustomResponse | null
[src]

Defines a custom response for the web request.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.