interface RouteSpecOptionsBase
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.RouteSpecOptionsBase |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#RouteSpecOptionsBase |
Java | software.amazon.awscdk.services.appmesh.RouteSpecOptionsBase |
Python | aws_cdk.aws_appmesh.RouteSpecOptionsBase |
TypeScript (source) | aws-cdk-lib » aws_appmesh » RouteSpecOptionsBase |
Base options for all route specs.
Example
// 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
Name | Type | Description |
---|---|---|
priority? | number | The priority for the route. |
priority?
Type:
number
(optional, default: no particular 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.