Class: Aws::WAFV2::Types::CustomRequestHandling
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::CustomRequestHandling
- Defined in:
- gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb
Overview
Note:
When making an API call, you may pass CustomRequestHandling data as a hash:
{
insert_headers: [ # required
{
name: "CustomHTTPHeaderName", # required
value: "CustomHTTPHeaderValue", # required
},
],
}
Custom request handling behavior that inserts custom headers into a web request. You can add custom request handling for the rule actions allow and count.
For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#insert_headers ⇒ Array<Types::CustomHTTPHeader>
The HTTP headers to insert into the request.
Instance Attribute Details
#insert_headers ⇒ Array<Types::CustomHTTPHeader>
The HTTP headers to insert into the request. Duplicate header names are not allowed.
For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.
3318 3319 3320 3321 3322 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 3318 class CustomRequestHandling < Struct.new( :insert_headers) SENSITIVE = [] include Aws::Structure end |