Show / Hide Table of Contents

Class HttpRoutePathMatchConfig

The type returned from the bind() method in HttpRoutePathMatch.

Inheritance
object
HttpRoutePathMatchConfig
Implements
IHttpRoutePathMatchConfig
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 HttpRoutePathMatchConfig : IHttpRoutePathMatchConfig
Syntax (vb)
Public Class HttpRoutePathMatchConfig Implements IHttpRoutePathMatchConfig
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;

            var httpRoutePathMatchConfig = new HttpRoutePathMatchConfig {
                PrefixPathMatch = "prefixPathMatch",
                WholePathMatch = new HttpPathMatchProperty {
                    Exact = "exact",
                    Regex = "regex"
                }
            };

Synopsis

Constructors

HttpRoutePathMatchConfig()

The type returned from the bind() method in HttpRoutePathMatch.

Properties

PrefixPathMatch

Route configuration for matching on the prefix of the URL path of the request.

WholePathMatch

Route configuration for matching on the complete URL path of the request.

Constructors

HttpRoutePathMatchConfig()

The type returned from the bind() method in HttpRoutePathMatch.

public HttpRoutePathMatchConfig()
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;

            var httpRoutePathMatchConfig = new HttpRoutePathMatchConfig {
                PrefixPathMatch = "prefixPathMatch",
                WholePathMatch = new HttpPathMatchProperty {
                    Exact = "exact",
                    Regex = "regex"
                }
            };

Properties

PrefixPathMatch

Route configuration for matching on the prefix of the URL path of the request.

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

string

Remarks

Default: - no matching will be performed on the prefix of the URL path

WholePathMatch

Route configuration for matching on the complete URL path of the request.

public CfnRoute.IHttpPathMatchProperty? WholePathMatch { get; set; }
Property Value

CfnRoute.IHttpPathMatchProperty

Remarks

Default: - no matching will be performed on the complete URL path

Implements

IHttpRoutePathMatchConfig
Back to top Generated by DocFX