interface RouteProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.RouteProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#RouteProps |
![]() | software.amazon.awscdk.services.appmesh.RouteProps |
![]() | aws_cdk.aws_appmesh.RouteProps |
![]() | aws-cdk-lib » aws_appmesh » RouteProps |
Properties to define new Routes.
Example
// 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';
declare const mesh: appmesh.Mesh;
declare const routeSpec: appmesh.RouteSpec;
declare const virtualRouter: appmesh.VirtualRouter;
const routeProps: appmesh.RouteProps = {
mesh: mesh,
routeSpec: routeSpec,
virtualRouter: virtualRouter,
// the properties below are optional
routeName: 'routeName',
};
Properties
Name | Type | Description |
---|---|---|
mesh | IMesh | The service mesh to define the route in. |
route | Route | Protocol specific spec. |
virtual | IVirtual | The VirtualRouter the Route belongs to. |
route | string | The name of the route. |
mesh
Type:
IMesh
The service mesh to define the route in.
routeSpec
Type:
Route
Protocol specific spec.
virtualRouter
Type:
IVirtual
The VirtualRouter the Route belongs to.
routeName?
Type:
string
(optional, default: An automatically generated name)
The name of the route.