CreateRouteRequest: {
    backendId: string;
    frontendId: string;
    match?: RouteMatch;
    region?: Region;
}

Type declaration

  • backendId: string

    ID of the target backend for the route.

  • frontendId: string

    ID of the source frontend to create the route on.

  • Optionalmatch?: RouteMatch

    Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.