TcpRouteSpecOptions

class aws_cdk.aws_appmesh.TcpRouteSpecOptions(*, priority=None, weighted_targets, timeout=None)

Bases: aws_cdk.aws_appmesh.RouteSpecOptionsBase

(experimental) Properties specific for a TCP Based Routes.

Parameters
  • priority (Union[int, float, None]) – (experimental) The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority. Default: - no particular priority

  • weighted_targets (Sequence[WeightedTarget]) – (experimental) List of targets that traffic is routed to when a request matches the route.

  • timeout (Optional[TcpTimeout]) – (experimental) An object that represents a tcp timeout. Default: - None

Stability

experimental

Attributes

priority

(experimental) The priority for the route.

Routes are matched based on the specified value, where 0 is the highest priority.

Default
  • no particular priority

Stability

experimental

Return type

Union[int, float, None]

timeout

(experimental) An object that represents a tcp timeout.

Default
  • None

Stability

experimental

Return type

Optional[TcpTimeout]

weighted_targets

(experimental) List of targets that traffic is routed to when a request matches the route.

Stability

experimental

Return type

List[WeightedTarget]