Interface IGatewayRouteBaseProps
Basic configuration properties for a GatewayRoute.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IGatewayRouteBaseProps
Syntax (vb)
Public Interface IGatewayRouteBaseProps
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.Exactly("example.com"),
// This disables the default rewrite to virtual service name and retain original request.
RewriteRequestHostname = false
}
})
});
Synopsis
Properties
GatewayRouteName | The name of the GatewayRoute. |
RouteSpec | What protocol the route uses. |
Properties
GatewayRouteName
The name of the GatewayRoute.
virtual string GatewayRouteName { get; }
Property Value
System.String
Remarks
Default: - an automatically generated name