Show / Hide Table of Contents

Class CfnRuleGroup.SingleHeaderProperty

Inspect one of the headers in the web request, identified by name, for example, User-Agent or Referer .

Inheritance
object
CfnRuleGroup.SingleHeaderProperty
Implements
CfnRuleGroup.ISingleHeaderProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRuleGroup.SingleHeaderProperty : CfnRuleGroup.ISingleHeaderProperty
Syntax (vb)
Public Class CfnRuleGroup.SingleHeaderProperty Implements 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

Constructors

SingleHeaderProperty()

Inspect one of the headers in the web request, identified by name, for example, User-Agent or Referer .

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" }

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"
             };

Properties

Name

The name of the query header to inspect.

public string Name { get; set; }
Property Value

string

Remarks

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

Implements

CfnRuleGroup.ISingleHeaderProperty
Back to top Generated by DocFX