CommonGatewayRouteSpecOptions

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

Bases: object

Base options for all gateway route specs.

Parameters:

priority (Union[int, float, None]) – The priority for the gateway route. When a Virtual Gateway has multiple gateway routes, gateway route match is performed in the order of specified value, where 0 is the highest priority, and first matched gateway 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.
from aws_cdk import aws_appmesh as appmesh

common_gateway_route_spec_options = appmesh.CommonGatewayRouteSpecOptions(
    priority=123
)

Attributes

priority

The priority for the gateway route.

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

Default:
  • no particular priority