Show / Hide Table of Contents

Interface CfnRuleGroup.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 CfnRuleGroup.ISingleHeaderProperty
Syntax (vb)
Public Interface CfnRuleGroup.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" }

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-singleheader.html

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-singleheader.html#cfn-wafv2-rulegroup-singleheader-name

Back to top Generated by DocFX