Class CfnGatewayRoute.GrpcGatewayRouteMatchProperty
An object that represents the criteria for determining a request match.
Inheritance
System.Object
CfnGatewayRoute.GrpcGatewayRouteMatchProperty
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GrpcGatewayRouteMatchProperty : Object, CfnGatewayRoute.IGrpcGatewayRouteMatchProperty
Syntax (vb)
Public Class GrpcGatewayRouteMatchProperty
Inherits Object
Implements CfnGatewayRoute.IGrpcGatewayRouteMatchProperty
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 grpcGatewayRouteMatchProperty = new GrpcGatewayRouteMatchProperty {
Hostname = new GatewayRouteHostnameMatchProperty {
Exact = "exact",
Suffix = "suffix"
},
Metadata = new [] { new GrpcGatewayRouteMetadataProperty {
Name = "name",
// the properties below are optional
Invert = false,
Match = new GatewayRouteMetadataMatchProperty {
Exact = "exact",
Prefix = "prefix",
Range = new GatewayRouteRangeMatchProperty {
End = 123,
Start = 123
},
Regex = "regex",
Suffix = "suffix"
}
} },
Port = 123,
ServiceName = "serviceName"
};
Synopsis
Constructors
GrpcGatewayRouteMatchProperty() |
Properties
Hostname | The gateway route host name to be matched on. |
Metadata | The gateway route metadata to be matched on. |
Port | The gateway route port to be matched on. |
ServiceName | The fully qualified domain name for the service to match from the request. |
Constructors
GrpcGatewayRouteMatchProperty()
public GrpcGatewayRouteMatchProperty()
Properties
Hostname
The gateway route host name to be matched on.
public object Hostname { get; set; }
Property Value
System.Object
Remarks
Metadata
The gateway route metadata to be matched on.
public object Metadata { get; set; }
Property Value
System.Object
Remarks
Port
The gateway route port to be matched 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