Interface CfnRuleGroup.CustomHTTPHeaderProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnRuleGroup.CustomHTTPHeaderProperty.Jsii$Proxy
- Enclosing class:
- CfnRuleGroup
@Stability(Stable)
public static interface CfnRuleGroup.CustomHTTPHeaderProperty
extends software.amazon.jsii.JsiiSerializable
A custom header for custom request and response handling.
 
 This is used in CustomResponse and CustomRequestHandling
 
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.wafv2.*;
 CustomHTTPHeaderProperty customHTTPHeaderProperty = CustomHTTPHeaderProperty.builder()
         .name("name")
         .value("value")
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRuleGroup.CustomHTTPHeaderPropertystatic final classAn implementation forCfnRuleGroup.CustomHTTPHeaderProperty
- 
Method SummaryMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getNameThe name of the custom header.For custom request header insertion, when AWS 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 namesample, AWS WAF inserts the headerx-amzn-waf-sample.
- 
getValueThe value of the custom header.
- 
builder
 
-