Interface CfnRoute.IHttpRouteHeaderProperty
An object that represents the HTTP header in the request.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHttpRouteHeaderProperty
Syntax (vb)
Public Interface 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
Properties
Invert | Specify |
Match | The |
Name | A name for the HTTP header in the client request that will be matched on. |
Properties
Invert
Specify True
to match anything except the match criteria.
virtual object Invert { get; }
Property Value
System.Object
Remarks
Match
The HeaderMatchMethod
object.
virtual object Match { get; }
Property Value
System.Object
Remarks
Name
A name for the HTTP header in the client request that will be matched on.
string Name { get; }
Property Value
System.String