Interface IGrpcGatewayRouteSpecOptions
Properties specific for a gRPC GatewayRoute.
Inherited Members
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IGrpcGatewayRouteSpecOptions : ICommonGatewayRouteSpecOptions
Syntax (vb)
Public Interface IGrpcGatewayRouteSpecOptions
Inherits ICommonGatewayRouteSpecOptions
Remarks
ExampleMetadata: infused
Examples
VirtualGateway gateway;
VirtualService virtualService;
gateway.AddGatewayRoute("gateway-route-grpc", new GatewayRouteBaseProps {
RouteSpec = GatewayRouteSpec.Grpc(new GrpcGatewayRouteSpecOptions {
RouteTarget = virtualService,
Match = new GrpcGatewayRouteMatch {
Hostname = GatewayRouteHostnameMatch.EndsWith(".example.com")
}
})
});
Synopsis
Properties
Match | The criterion for determining a request match for this GatewayRoute. |
RouteTarget | The VirtualService this GatewayRoute directs traffic to. |
Properties
Match
The criterion for determining a request match for this GatewayRoute.
IGrpcGatewayRouteMatch Match { get; }
Property Value
RouteTarget
The VirtualService this GatewayRoute directs traffic to.
IVirtualService RouteTarget { get; }
Property Value