# RouteSpecOptionsBase

Base options for all route specs.

- Source: [`aws-appmesh/lib/route-spec.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-appmesh/lib/route-spec.ts#L141)

## Example

TypeScript:

```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,
};
```

Python:

```python
# 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

route_spec_options_base = appmesh.RouteSpecOptionsBase(
    priority=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;

RouteSpecOptionsBase routeSpecOptionsBase = RouteSpecOptionsBase.builder()
        .priority(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;

var routeSpecOptionsBase = new RouteSpecOptionsBase {
    Priority = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

routeSpecOptionsBase := &RouteSpecOptionsBase{
	Priority: jsii.Number(123),
}
```

## Properties

- `priority`: number — 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.
