Class HttpRoutePathMatchConfig
The type returned from the bind()
method in HttpRoutePathMatch
.
Inheritance
System.Object
HttpRoutePathMatchConfig
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HttpRoutePathMatchConfig : Object, IHttpRoutePathMatchConfig
Syntax (vb)
Public Class HttpRoutePathMatchConfig
Inherits Object
Implements IHttpRoutePathMatchConfig
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 httpRoutePathMatchConfig = new HttpRoutePathMatchConfig {
PrefixPathMatch = "prefixPathMatch",
WholePathMatch = new HttpPathMatchProperty {
Exact = "exact",
Regex = "regex"
}
};
Synopsis
Constructors
HttpRoutePathMatchConfig() |
Properties
PrefixPathMatch | Route configuration for matching on the prefix of the URL path of the request. |
WholePathMatch | Route configuration for matching on the complete URL path of the request. |
Constructors
HttpRoutePathMatchConfig()
public HttpRoutePathMatchConfig()
Properties
PrefixPathMatch
Route configuration for matching on the prefix of the URL path of the request.
public string PrefixPathMatch { get; set; }
Property Value
System.String
Remarks
Default: - no matching will be performed on the prefix of the URL path
WholePathMatch
Route configuration for matching on the complete URL path of the request.
public CfnRoute.IHttpPathMatchProperty WholePathMatch { get; set; }
Property Value
CfnRoute.IHttpPathMatchProperty
Remarks
Default: - no matching will be performed on the complete URL path