Skip to content

(aws-appmesh): priority cannot be configured in gateway routes  #16821

@desoss

Description

@desoss

What 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:

image

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions