Show / Hide Table of Contents

Class CfnRuleGroup.CustomHTTPHeaderProperty

A custom header for custom request and response handling.

Inheritance
object
CfnRuleGroup.CustomHTTPHeaderProperty
Implements
CfnRuleGroup.ICustomHTTPHeaderProperty
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.CustomHTTPHeaderProperty : CfnRuleGroup.ICustomHTTPHeaderProperty
Syntax (vb)
Public Class CfnRuleGroup.CustomHTTPHeaderProperty Implements CfnRuleGroup.ICustomHTTPHeaderProperty
Remarks

This is used in CustomResponse and CustomRequestHandling

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-customhttpheader.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 customHTTPHeaderProperty = new CustomHTTPHeaderProperty {
                 Name = "name",
                 Value = "value"
             };

Synopsis

Constructors

CustomHTTPHeaderProperty()

A custom header for custom request and response handling.

Properties

Name

The name of the custom header.

Value

The value of the custom header.

Constructors

CustomHTTPHeaderProperty()

A custom header for custom request and response handling.

public CustomHTTPHeaderProperty()
Remarks

This is used in CustomResponse and CustomRequestHandling

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-customhttpheader.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 customHTTPHeaderProperty = new CustomHTTPHeaderProperty {
                 Name = "name",
                 Value = "value"
             };

Properties

Name

The name of the custom header.

public string Name { get; set; }
Property Value

string

Remarks

For custom request header insertion, when AWS WAF inserts the header into the request, it prefixes this name x-amzn-waf- , to avoid confusion with the headers that are already in the request. For example, for the header name sample , AWS WAF inserts the header x-amzn-waf-sample .

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

Value

The value of the custom header.

public string Value { get; set; }
Property Value

string

Remarks

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

Implements

CfnRuleGroup.ICustomHTTPHeaderProperty
Back to top Generated by DocFX