Show / Hide Table of Contents

Interface CfnWebACL.ICustomHTTPHeaderProperty

A custom header for custom request and response handling.

Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnWebACL.ICustomHTTPHeaderProperty
Syntax (vb)
Public Interface CfnWebACL.ICustomHTTPHeaderProperty
Remarks

This is used in CustomResponse and CustomRequestHandling .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-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

Properties

Name

The name of the custom header.

Value

The value of the custom header.

Properties

Name

The name of the custom header.

string Name { get; }
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-webacl-customhttpheader.html#cfn-wafv2-webacl-customhttpheader-name

Value

The value of the custom header.

string Value { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX