Class RouteProps
Properties to define new Routes.
Inheritance
System.Object
RouteProps
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RouteProps : Object, IRouteProps, IRouteBaseProps
Syntax (vb)
Public Class RouteProps
Inherits Object
Implements IRouteProps, IRouteBaseProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;
Mesh mesh;
RouteSpec routeSpec;
VirtualRouter virtualRouter;
var routeProps = new RouteProps {
Mesh = mesh,
RouteSpec = routeSpec,
VirtualRouter = virtualRouter,
// the properties below are optional
RouteName = "routeName"
};
Synopsis
Constructors
RouteProps() |
Properties
Mesh | The service mesh to define the route in. |
RouteName | The name of the route. |
RouteSpec | Protocol specific spec. |
VirtualRouter | The VirtualRouter the Route belongs to. |
Constructors
RouteProps()
public RouteProps()
Properties
Mesh
RouteName
The name of the route.
public string RouteName { get; set; }
Property Value
System.String
Remarks
Default: - An automatically generated name
RouteSpec
VirtualRouter
The VirtualRouter the Route belongs to.
public IVirtualRouter VirtualRouter { get; set; }
Property Value