HttpRouteSpecOptions

class aws_cdk.aws_appmesh.HttpRouteSpecOptions(*, weighted_targets, match=None, timeout=None)

Bases: object

(experimental) Properties specific for HTTP Based Routes.

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

  • match (Optional[HttpRouteMatch]) – (experimental) The criterion for determining a request match for this Route. Default: - matches on ‘/’

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

Stability

experimental

Attributes

match

(experimental) The criterion for determining a request match for this Route.

Default
  • matches on ‘/’

Stability

experimental

Return type

Optional[HttpRouteMatch]

timeout

(experimental) An object that represents a http timeout.

Default
  • None

Stability

experimental

Return type

Optional[HttpTimeout]

weighted_targets

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

Stability

experimental

Return type

List[WeightedTarget]