TcpRouteRouteActionArgs

data class TcpRouteRouteActionArgs(val destinations: Output<List<TcpRouteRouteDestinationArgs>>? = null, val originalDestination: Output<Boolean>? = null) : ConvertibleToJava<TcpRouteRouteActionArgs>

The specifications for routing traffic and applying associated policies.

Constructors

Link copied to clipboard
fun TcpRouteRouteActionArgs(destinations: Output<List<TcpRouteRouteDestinationArgs>>? = null, originalDestination: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TcpRouteRouteActionArgs

Properties

Link copied to clipboard

Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set.

Link copied to clipboard
val originalDestination: Output<Boolean>? = null

Optional. If true, Router will use the destination IP and port of the original connection as the destination of the request. Default is false. Only one of route destinations or original destination can be set.