AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateRoute operation. Creates a route that is associated with a virtual router.

You can use the prefix parameter in your route specification for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

If your route matches a request, you can distribute traffic to one or more target virtual nodes with relative weighting.

For more information about routes, see Routes.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppMesh.AmazonAppMeshRequest
      Amazon.AppMesh.Model.CreateRouteRequest

Namespace: Amazon.AppMesh.Model
Assembly: AWSSDK.AppMesh.dll
Version: 3.x.y.z

Syntax

C#
public class CreateRouteRequest : AmazonAppMeshRequest
         IAmazonWebServiceRequest

The CreateRouteRequest type exposes the following members

Constructors

NameDescription
Public Method CreateRouteRequest()

Properties

NameTypeDescription
Public Property ClientToken System.String

Gets and sets the property ClientToken.

Unique, case-sensitive identifier that you provide to ensure the idempotency of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.

Public Property MeshName System.String

Gets and sets the property MeshName.

The name of the service mesh to create the route in.

Public Property MeshOwner System.String

Gets and sets the property MeshOwner.

The 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.

Public Property RouteName System.String

Gets and sets the property RouteName.

The name to use for the route.

Public Property Spec Amazon.AppMesh.Model.RouteSpec

Gets and sets the property Spec.

The route specification to apply.

Public Property Tags System.Collections.Generic.List<Amazon.AppMesh.Model.TagRef>

Gets and sets the property Tags.

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.

Public Property VirtualRouterName System.String

Gets and sets the property VirtualRouterName.

The 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.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms