Show / Hide Table of Contents

Class RouteProps

Properties to define new Routes.

Inheritance
object
RouteProps
Implements
IRouteProps
IRouteBaseProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RouteProps : IRouteProps, IRouteBaseProps
Syntax (vb)
Public Class RouteProps 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 to define new Routes.

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()

Properties to define new Routes.

public RouteProps()
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"
            };

Properties

Mesh

The service mesh to define the route in.

public IMesh Mesh { get; set; }
Property Value

IMesh

Remarks

ExampleMetadata: fixture=_generated

RouteName

The name of the route.

public string? RouteName { get; set; }
Property Value

string

Remarks

Default: - An automatically generated name

RouteSpec

Protocol specific spec.

public RouteSpec RouteSpec { get; set; }
Property Value

RouteSpec

Remarks

ExampleMetadata: fixture=_generated

VirtualRouter

The VirtualRouter the Route belongs to.

public IVirtualRouter VirtualRouter { get; set; }
Property Value

IVirtualRouter

Remarks

ExampleMetadata: fixture=_generated

Implements

IRouteProps
IRouteBaseProps
Back to top Generated by DocFX