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.

An object that represents the requirements for a route to match HTTP requests for a virtual router.

Inheritance Hierarchy

System.Object
  Amazon.AppMesh.Model.HttpRouteMatch

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

Syntax

C#
public class HttpRouteMatch

The HttpRouteMatch type exposes the following members

Constructors

NameDescription
Public Method HttpRouteMatch()

Properties

NameTypeDescription
Public Property Headers System.Collections.Generic.List<Amazon.AppMesh.Model.HttpRouteHeader>

Gets and sets the property Headers.

The client request headers to match on.

Public Property Method Amazon.AppMesh.HttpMethod

Gets and sets the property Method.

The client request method to match on. Specify only one.

Public Property Path Amazon.AppMesh.Model.HttpPathMatch

Gets and sets the property Path.

The client request path to match on.

Public Property Port System.Int32

Gets and sets the property Port.

The port number to match on.

Public Property Prefix System.String

Gets and sets the property Prefix.

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match 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.

Public Property QueryParameters System.Collections.Generic.List<Amazon.AppMesh.Model.HttpQueryParameter>

Gets and sets the property QueryParameters.

The client request query parameters to match on.

Public Property Scheme Amazon.AppMesh.HttpScheme

Gets and sets the property Scheme.

The client request scheme to match on. Specify only one. Applicable only for HTTP2 routes.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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