Interface CfnRoute.IGrpcRouteMatchProperty
An object that represents the criteria for determining a request match.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IGrpcRouteMatchProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Metadata
An object that represents the data to match from the request.
virtual object Metadata { get; }
Property Value
System.Object
Remarks
MethodName
The method name to match from the request.
virtual string MethodName { get; }
Property Value
System.String
Remarks
If you specify a name, you must also specify a serviceName
.
Port
The port number to match on.
virtual Nullable<double> Port { get; }
Property Value
System.Nullable<System.Double>
Remarks
ServiceName
The fully qualified domain name for the service to match from the request.
virtual string ServiceName { get; }
Property Value
System.String