-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
@aws-cdk/aws-appmeshRelated to AWS App MeshRelated to AWS App Mesheffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Milestone
Description
There are fields that are currently not exposed in the App Mesh Route match spec. To enable different use cases, we need to allow customers to configure them for each route protocol.
Use Case
One of the most powerful features that this exposes is header based routing, but there are other use cases that customers can take advantage of. We also need to expose the priority field on the Route to disambiguate when multiple routes may match the same request
Proposed Solution
Here is an example:
router.addRoute('test-http-route', {
routeSpec: appmesh.RouteSpec.http({
match: {
prefixPath: '/node',
headers: [
{
match: appmesh.MatchCriteria.exact,
name: 'foo',
invert: false,
},
],
...
}
...
weightedTargets: [
{
virtualNode: node,
},
],
}),
});Other
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
misterjoshua
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-appmeshRelated to AWS App MeshRelated to AWS App Mesheffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2