class Aws::WAFV2::Types::CustomHTTPHeader
A custom header for custom request and response handling. This is used in CustomResponse
and CustomRequestHandling
.
@note When making an API call, you may pass CustomHTTPHeader
data as a hash: { name: "CustomHTTPHeaderName", # required value: "CustomHTTPHeaderValue", # required }
@!attribute [rw] name
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`. @return [String]
@!attribute [rw] value
The value of the custom header. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CustomHTTPHeader AWS API Documentation
Constants
- SENSITIVE