Show / Hide Table of Contents

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.

string? GatewayRouteName { get; }
Property Value

string

Remarks

Default: - an automatically generated name

RouteSpec

What protocol the route uses.

GatewayRouteSpec RouteSpec { get; }
Property Value

GatewayRouteSpec

Remarks

ExampleMetadata: infused

Back to top Generated by DocFX