Skip to content
v2.276.0

RouteSpecOptionsBase Struct ​

Base options for all route specs.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const routeSpecOptionsBase: appmesh.RouteSpecOptionsBase = {
  priority: 123,
};

Properties ​

priorityoptionalnumberpriorityoptionalint | floatpriorityoptionalNumberPriorityoptionaldoublePriorityoptional*float64#
The priority for the route.

Default: no particular priority

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.