Interface CfnWebACL.ISingleHeaderProperty
Inspect one of the headers in the web request, identified by name, for example, User-Agent
or Referer
.
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISingleHeaderProperty
Syntax (vb)
Public Interface ISingleHeaderProperty
Remarks
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" }
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAFv2;
var singleHeaderProperty = new SingleHeaderProperty {
Name = "name"
};
Synopsis
Properties
Name | The name of the query header to inspect. |
Properties
Name
The name of the query header to inspect.
string Name { get; }
Property Value
System.