AWS::AppMesh::RouteCreates a route that is associated with a virtual router. You can route several different protocols and define a retry policy for a route. Traffic can be routed to one or more virtual nodes. For more information about routes, see [Routes](https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html) .
import { CfnRoute } from 'aws-cdk-lib/aws-appmesh';Or use the module namespace:
import * as appmesh from 'aws-cdk-lib/aws-appmesh';
// appmesh.CfnRouteConfiguration passed to the constructor as CfnRouteProps.
meshNameRequiredstringThe name of the service mesh to create the route in.
specRequiredIResolvable | RouteSpecPropertyThe route specification to apply.
virtualRouterNameRequiredstringThe name of the virtual router in which to create the route. If the virtual router is in a shared mesh, then you must be the owner of the virtual router resource.
meshOwnerOptionalstringThe AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see [Working with shared meshes](https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html) .
routeNameOptionalstringThe name to use for the route.
tagsOptionalCfnTag[]Optional metadata that you can apply to the route to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-appmeshAWS::AppMesh::Route