aws-cdk-lib.aws_appmesh.RouteAttributes

interface RouteAttributes

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.RouteAttributes
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#RouteAttributes
Javasoftware.amazon.awscdk.services.appmesh.RouteAttributes
Pythonaws_cdk.aws_appmesh.RouteAttributes
TypeScript (source)aws-cdk-lib » aws_appmesh » RouteAttributes

Interface with properties ncecessary to import a reusable Route.

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 virtualRouter: appmesh.VirtualRouter;
const routeAttributes: appmesh.RouteAttributes = {
  routeName: 'routeName',
  virtualRouter: virtualRouter,
};

Properties

NameTypeDescription
routeNamestringThe name of the Route.
virtualRouterIVirtualRouterThe VirtualRouter the Route belongs to.

routeName

Type: string

The name of the Route.


virtualRouter

Type: IVirtualRouter

The VirtualRouter the Route belongs to.