Interface CfnGatewayRoute.IHttpGatewayRouteHeaderMatchProperty
An object that represents the method and value to match with the header value sent in a request.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHttpGatewayRouteHeaderMatchProperty
Syntax (vb)
Public Interface IHttpGatewayRouteHeaderMatchProperty
Remarks
Specify one match method.
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 httpGatewayRouteHeaderMatchProperty = new HttpGatewayRouteHeaderMatchProperty {
Exact = "exact",
Prefix = "prefix",
Range = new GatewayRouteRangeMatchProperty {
End = 123,
Start = 123
},
Regex = "regex",
Suffix = "suffix"
};
Synopsis
Properties
Exact | The value sent by the client must match the specified value exactly. |
Prefix | The value sent by the client must begin with the specified characters. |
Range | An object that represents the range of values to match on. |
Regex | The value sent by the client must include the specified characters. |
Suffix | The value sent by the client must end with the specified characters. |
Properties
Exact
The value sent by the client must match the specified value exactly.
virtual string Exact { get; }
Property Value
System.String
Remarks
Prefix
The value sent by the client must begin with the specified characters.
virtual string Prefix { get; }
Property Value
System.String
Remarks
Range
An object that represents the range of values to match on.
virtual object Range { get; }
Property Value
System.Object
Remarks
Regex
The value sent by the client must include the specified characters.
virtual string Regex { get; }
Property Value
System.String
Remarks
Suffix
The value sent by the client must end with the specified characters.
virtual string Suffix { get; }
Property Value
System.String