Class CfnRoute.HttpRouteHeaderProperty
An object that represents the HTTP header in the request.
Inheritance
System.Object
CfnRoute.HttpRouteHeaderProperty
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HttpRouteHeaderProperty : Object, CfnRoute.IHttpRouteHeaderProperty
Syntax (vb)
Public Class HttpRouteHeaderProperty
Inherits Object
Implements CfnRoute.IHttpRouteHeaderProperty
Remarks
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.AppMesh;
var httpRouteHeaderProperty = new HttpRouteHeaderProperty {
Name = "name",
// the properties below are optional
Invert = false,
Match = new HeaderMatchMethodProperty {
Exact = "exact",
Prefix = "prefix",
Range = new MatchRangeProperty {
End = 123,
Start = 123
},
Regex = "regex",
Suffix = "suffix"
}
};
Synopsis
Constructors
HttpRouteHeaderProperty() |
Properties
Invert | Specify |
Match | The |
Name | A name for the HTTP header in the client request that will be matched on. |
Constructors
HttpRouteHeaderProperty()
public HttpRouteHeaderProperty()
Properties
Invert
Specify True
to match anything except the match criteria.
public object Invert { get; set; }
Property Value
System.Object
Remarks
Match
The HeaderMatchMethod
object.
public object Match { get; set; }
Property Value
System.Object
Remarks
Name
A name for the HTTP header in the client request that will be matched on.
public string Name { get; set; }
Property Value
System.String