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.
import aws_cdk.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

Return type

Union[int, float, None]