HttpRouteSpecOptions¶
-
class
aws_cdk.aws_appmesh.
HttpRouteSpecOptions
(*, priority=None, weighted_targets, match=None, retry_policy=None, timeout=None)¶ Bases:
aws_cdk.aws_appmesh.RouteSpecOptionsBase
(experimental) Properties specific for HTTP 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 priorityweighted_targets (
Sequence
[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 ‘/’retry_policy (
Optional
[HttpRetryPolicy
]) – (experimental) The retry policy. Default: - no retry policytimeout (
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
]
-
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
]
-
retry_policy
¶ (experimental) The retry policy.
- Default
no retry policy
- Stability
experimental
- Return type
Optional
[HttpRetryPolicy
]
-
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
]