Class CfnLoggingConfiguration.SingleHeaderProperty
Inspect one of the headers in the web request, identified by name, for example, User-Agent or Referer .
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLoggingConfiguration.SingleHeaderProperty : CfnLoggingConfiguration.ISingleHeaderProperty
Syntax (vb)
Public Class CfnLoggingConfiguration.SingleHeaderProperty Implements CfnLoggingConfiguration.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
Constructors
| SingleHeaderProperty() | Inspect one of the headers in the web request, identified by name, for example, |
Properties
| Name | The name of the query header to inspect. |
Constructors
SingleHeaderProperty()
Inspect one of the headers in the web request, identified by name, for example, User-Agent or Referer .
public SingleHeaderProperty()
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"
};
Properties
Name
The name of the query header to inspect.
public string Name { get; set; }