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

CustomHTTPHeader

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

A custom header for custom request and response handling. This is used in "CustomResponse" and "CustomRequestHandling".

interface CustomHTTPHeader {
Name: string;
Value: string;
}

§Properties

§
Name: string
[src]

The name of the custom header.

For custom request header insertion, when WAF inserts the header into the request, it prefixes this name x-amzn-waf-, to avoid confusion with the headers that are already in the request. For example, for the header name sample, WAF inserts the header x-amzn-waf-sample.

§
Value: string
[src]

The value of the custom header.