Interface CfnRuleGroup.SingleHeaderProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRuleGroup.SingleHeaderProperty.Jsii$Proxy
- Enclosing class:
CfnRuleGroup
@Stability(Stable)
public static interface CfnRuleGroup.SingleHeaderProperty
extends software.amazon.jsii.JsiiSerializable
Inspect one of the headers in the web request, identified by name, for example,
User-Agent
or Referer
.
The name isn't case sensitive.
You can filter and inspect all headers with the FieldToMatch
setting Headers
.
This is used to indicate the web request component to inspect, in the FieldToMatch
specification.
Example JSON: "SingleHeader": { "Name": "haystack" }
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.*; SingleHeaderProperty singleHeaderProperty = SingleHeaderProperty.builder() .name("name") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRuleGroup.SingleHeaderProperty
static final class
An implementation forCfnRuleGroup.SingleHeaderProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the query header to inspect.- See Also:
-
builder
-