Interface GrpcGatewayRouteSpecOptions
- All Superinterfaces:
CommonGatewayRouteSpecOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GrpcGatewayRouteSpecOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.061Z")
@Stability(Stable)
public interface GrpcGatewayRouteSpecOptions
extends software.amazon.jsii.JsiiSerializable, CommonGatewayRouteSpecOptions
Properties specific for a gRPC GatewayRoute.
Example:
VirtualGateway gateway; VirtualService virtualService; gateway.addGatewayRoute("gateway-route-grpc", GatewayRouteBaseProps.builder() .routeSpec(GatewayRouteSpec.grpc(GrpcGatewayRouteSpecOptions.builder() .routeTarget(virtualService) .match(GrpcGatewayRouteMatch.builder() .hostname(GatewayRouteHostnameMatch.endsWith(".example.com")) .build()) .build())) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forGrpcGatewayRouteSpecOptions
static final class
An implementation forGrpcGatewayRouteSpecOptions
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.appmesh.CommonGatewayRouteSpecOptions
getPriority
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMatch
The criterion for determining a request match for this GatewayRoute. -
getRouteTarget
The VirtualService this GatewayRoute directs traffic to. -
builder
-