(aws-appmesh): priority cannot be configured in gateway routes
See original GitHub issueWhat is the problem?
Even if the AWS console allows to specify the gateway route priority in the gateway route configuration this is not possible in CDK.
Reproduction Steps
Here I’ve no way to specify the priority of a gateway route.
virtualGateway.addGatewayRoute('trial-route', {
gatewayRouteName: 'trial-route',
routeSpec: appmesh.GatewayRouteSpec.http({
match: {
path: HttpGatewayRoutePathMatch.startsWith('/'),
rewriteRequestHostname: false,
},
routeTarget: props.targetService,
})
});
What did you expect to happen?
I expect to be able to configure the gateway route priority as in the console:
What actually happened?
Currently, the priority cannot be configured in the gateway routes.
CDK CLI Version
1.126.0
Framework Version
No response
Node.js Version
16.4.1
OS
macOS
Language
Typescript
Language Version
No response
Other information
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Gateway routes - AWS App Mesh
A gateway route is attached to a virtual gateway and routes traffic to an existing virtual service. If a route matches a request,...
Read more >Create traffic routes - AWS App Mesh Workshop
The new route will have a higher priority (lower number) and the same match condition as the existing one. The net effect is...
Read more >Istio / Traffic Management
Routing rule precedence. More about routing rules. Destination rules. Load balancing options; Destination rule example. Gateways. Gateway example.
Read more >Gloo Edge and AWS App Mesh - Solo.io Docs
Currently, AWS App Mesh is fairly simple in its capabilities. It does very limited routing, cannot do mTLS, etc. As AWS App Mesh...
Read more >Proxy Reference - v3.1.x - Kong Docs
Route : This refers to the Kong Gateway routes entity. ... that it cannot match against any of the configured routes (or if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Priority
field is now available in CloudFormation. (link) It should be becoming available for CDK L1 this week.For CDK L2 support, we are still at end of November.
Quick update: We are deploying changes to CloudFormation to include
Priority
field.I think we are looking at end of November as a target for full CDK update completion.