Skip to content

HttpGatewayRouteAction

Source code in docs_src/capo_app_mesh/types/http_gateway_route_action.py
class HttpGatewayRouteAction(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.http_gateway_route_rewrite.HttpGatewayRouteRewrite"
    ]
    """<p>The gateway route action to rewrite.</p>"""

rewrite instance-attribute

rewrite: NotRequired[HttpGatewayRouteRewrite]

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.