AwsWafv2CustomResponseDetails
import type { AwsWafv2CustomResponseDetails } from "https://aws-api.deno.dev/v0.4/services/securityhub.ts?docs=full";
A custom response to send to the client. You can define a custom response for rule actions and default web ACL actions that are set to block.
interface AwsWafv2CustomResponseDetails {
CustomResponseBodyKey?: string | null;
ResponseCode?: number | null;
ResponseHeaders?: AwsWafv2CustomHttpHeader[] | null;
}§Properties
§
CustomResponseBodyKey?: string | null
[src]References the response body that you want WAF to return to the web request client. You can define a custom response for a rule action or a default web ACL action that is set to block.
§
ResponseCode?: number | null
[src]The HTTP status code to return to the client. For a list of status codes that you can use in your custom responses, see Supported status codes for custom response in the WAF Developer Guide.
§
ResponseHeaders?: AwsWafv2CustomHttpHeader[] | null
[src]The HTTP headers to use in the response.