Class: Aws::WAFV2::Types::CustomHTTPHeader

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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.

Returns:

  • (String)


1562
1563
1564
1565
1566
1567
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 1562

class CustomHTTPHeader < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value of the custom header.

Returns:

  • (String)


1562
1563
1564
1565
1566
1567
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 1562

class CustomHTTPHeader < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end