defaultRouteAction

@JvmName(name = "mesrbolbeaqhvkwd")
suspend fun defaultRouteAction(value: Output<HttpRouteActionArgs>)
@JvmName(name = "ytkqwtmcsjycvfyj")
suspend fun defaultRouteAction(value: HttpRouteActionArgs?)

Parameters

value

defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction.


@JvmName(name = "kgxvrvhftpqrlhna")
suspend fun defaultRouteAction(argument: suspend HttpRouteActionArgsBuilder.() -> Unit)

Parameters

argument

defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction.