Interface GrpcGatewayRouteMatch

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.060Z") @Stability(Stable) public interface GrpcGatewayRouteMatch extends
The criterion for determining a request match for this GatewayRoute.


 VirtualGateway gateway;
 VirtualService virtualService;
 gateway.addGatewayRoute("gateway-route-grpc", GatewayRouteBaseProps.builder()
  • Method Details

    • getHostname

      @Stability(Stable) @Nullable default GatewayRouteHostnameMatch getHostname()
      Create host name based gRPC gateway route match.

      Default: - no matching on host name

    • getMetadata

      @Stability(Stable) @Nullable default List<HeaderMatch> getMetadata()
      Create metadata based gRPC gateway route match.

      All specified metadata must match for the route to match.

      Default: - no matching on metadata

    • getRewriteRequestHostname

      @Stability(Stable) @Nullable default Boolean getRewriteRequestHostname()
      When true, rewrites the original request received at the Virtual Gateway to the destination Virtual Service name.

      When false, retains the original hostname from the request.

      Default: true

    • getServiceName

      @Stability(Stable) @Nullable default String getServiceName()
      Create service name based gRPC gateway route match.

      Default: - no matching on service name

    • builder

      @Stability(Stable) static GrpcGatewayRouteMatch.Builder builder()
      a GrpcGatewayRouteMatch.Builder of GrpcGatewayRouteMatch