HttpRouteSpecOptions

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

Bases: aws_cdk.aws_appmesh.RouteSpecOptionsBase

Properties specific for HTTP Based Routes.

Parameters
  • priority (Union[int, float, None]) – 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]) – List of targets that traffic is routed to when a request matches the route.

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

  • retry_policy (Optional[HttpRetryPolicy]) – The retry policy. Default: - no retry policy

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

Attributes

match

The criterion for determining a request match for this Route.

Default
  • matches on ‘/’

Return type

Optional[HttpRouteMatch]

priority

The priority for the route.

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

Default
  • no particular priority

Return type

Union[int, float, None]

retry_policy

The retry policy.

Default
  • no retry policy

Return type

Optional[HttpRetryPolicy]

timeout

An object that represents a http timeout.

Default
  • None

Return type

Optional[HttpTimeout]

weighted_targets

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

Return type

List[WeightedTarget]