AwsWafv2CustomResponseDetails - AWS Security Hub


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.



References the response body that you want AWS 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.

Type: String

Pattern: .*\S.*

Required: No


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 AWS WAF Developer Guide.

Type: Integer

Required: No


The HTTP headers to use in the response.

Type: Array of AwsWafv2CustomHttpHeader objects

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: