class Aws::WAFV2::Types::CountAction
Specifies that WAF should count the request. Optionally defines additional custom handling for the request.
This is used in the context of other settings, for example to specify values for RuleAction
and web ACL DefaultAction
.
@note When making an API call, you may pass CountAction
data as a hash: { custom_request_handling: { insert_headers: [ # required { name: "CustomHTTPHeaderName", # required value: "CustomHTTPHeaderValue", # required }, ], }, }
@!attribute [rw] custom_request_handling
Defines custom handling for the web request. For information about customizing web requests and responses, see [Customizing web requests and responses in WAF][1] in the [WAF Developer Guide][2]. [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html @return [Types::CustomRequestHandling]
@see docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CountAction AWS API Documentation
Constants
- SENSITIVE