Interface CfnGatewayRoute.IHttpGatewayRouteHeaderProperty
An object that represents the HTTP header in the gateway route.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHttpGatewayRouteHeaderProperty
Syntax (vb)
Public Interface IHttpGatewayRouteHeaderProperty
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 httpGatewayRouteHeaderProperty = new HttpGatewayRouteHeaderProperty {
Name = "name",
// the properties below are optional
Invert = false,
Match = new HttpGatewayRouteHeaderMatchProperty {
Exact = "exact",
Prefix = "prefix",
Range = new GatewayRouteRangeMatchProperty {
End = 123,
Start = 123
},
Regex = "regex",
Suffix = "suffix"
}
};
Synopsis
Properties
Invert | Specify |
Match | An object that represents the method and value to match with the header value sent in a request. |
Name | A name for the HTTP header in the gateway route 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
An object that represents the method and value to match with the header value sent in a request.
virtual object Match { get; }
Property Value
System.Object
Remarks
Name
A name for the HTTP header in the gateway route that will be matched on.
string Name { get; }
Property Value
System.String