Class CfnRoute.GrpcRouteMatchProperty
An object that represents the criteria for determining a request match.
Inheritance
System.Object
CfnRoute.GrpcRouteMatchProperty
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GrpcRouteMatchProperty : Object, CfnRoute.IGrpcRouteMatchProperty
Syntax (vb)
Public Class GrpcRouteMatchProperty
Inherits Object
Implements CfnRoute.IGrpcRouteMatchProperty
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 grpcRouteMatchProperty = new GrpcRouteMatchProperty {
Metadata = new [] { new GrpcRouteMetadataProperty {
Name = "name",
// the properties below are optional
Invert = false,
Match = new GrpcRouteMetadataMatchMethodProperty {
Exact = "exact",
Prefix = "prefix",
Range = new MatchRangeProperty {
End = 123,
Start = 123
},
Regex = "regex",
Suffix = "suffix"
}
} },
MethodName = "methodName",
Port = 123,
ServiceName = "serviceName"
};
Synopsis
Constructors
GrpcRouteMatchProperty() |
Properties
Metadata | An object that represents the data to match from the request. |
MethodName | The method name to match from the request. |
Port | The port number to match on. |
ServiceName | The fully qualified domain name for the service to match from the request. |
Constructors
GrpcRouteMatchProperty()
public GrpcRouteMatchProperty()
Properties
Metadata
An object that represents the data to match from the request.
public object Metadata { get; set; }
Property Value
System.Object
Remarks
MethodName
The method name to match from the request.
public string MethodName { get; set; }
Property Value
System.String
Remarks
If you specify a name, you must also specify a serviceName
.
Port
The port number to match on.
public Nullable<double> Port { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
ServiceName
The fully qualified domain name for the service to match from the request.
public string ServiceName { get; set; }
Property Value
System.String