Skip to content

GrpcGatewayRouteAction

Source code in docs_src/capo_app_mesh/types/grpc_gateway_route_action.py
class GrpcGatewayRouteAction(TypedDict, closed=True):
    target: "capo_app_mesh.types.gateway_route_target.GatewayRouteTarget"
    """<p>An object that represents the target that traffic is routed to when a request matches the gateway route.</p>"""
    rewrite: NotRequired[
        "capo_app_mesh.types.grpc_gateway_route_rewrite.GrpcGatewayRouteRewrite"
    ]
    """<p>The gateway route action to rewrite.</p>"""

rewrite instance-attribute

rewrite: NotRequired[GrpcGatewayRouteRewrite]

The gateway route action to rewrite.

target instance-attribute

An object that represents the target that traffic is routed to when a request matches the gateway route.