RouteSpecOptionsBase

class aws_cdk.aws_appmesh.RouteSpecOptionsBase(*, priority=None)

Bases: object

Base options for all route specs.

Parameters

priority (Union[int, float, None]) – The priority for the route. When a Virtual Router has multiple routes, route match is performed in the order of specified value, where 0 is the highest priority, and first matched route is selected. Default: - no particular priority

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appmesh as appmesh

route_spec_options_base = appmesh.RouteSpecOptionsBase(
    priority=123
)

Attributes

priority

The priority for the route.

When a Virtual Router has multiple routes, route match is performed in the order of specified value, where 0 is the highest priority, and first matched route is selected.

Default
  • no particular priority

Return type

Union[int, float, None]