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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRuleGroup.CustomHTTPHeaderProperty
static final class
An implementation forCfnRuleGroup.CustomHTTPHeaderProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The 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
.- See Also:
-
getValue
The value of the custom header.- See Also:
-
builder
-