Builder

class Builder

Properties

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The HTTP headers to use in the response.