Show / Hide Table of Contents

Class HttpGatewayRoutePathMatchConfig

The type returned from the bind() method in {@link HttpGatewayRoutePathMatch}.

Inheritance
System.Object
HttpGatewayRoutePathMatchConfig
Implements
IHttpGatewayRoutePathMatchConfig
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public class HttpGatewayRoutePathMatchConfig : Object, IHttpGatewayRoutePathMatchConfig
Syntax (vb)
Public Class HttpGatewayRoutePathMatchConfig
    Inherits Object
    Implements IHttpGatewayRoutePathMatchConfig
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 httpGatewayRoutePathMatchConfig = new HttpGatewayRoutePathMatchConfig {
    PrefixPathMatch = "prefixPathMatch",
    PrefixPathRewrite = new HttpGatewayRoutePrefixRewriteProperty {
        DefaultPrefix = "defaultPrefix",
        Value = "value"
    },
    WholePathMatch = new HttpPathMatchProperty {
        Exact = "exact",
        Regex = "regex"
    },
    WholePathRewrite = new HttpGatewayRoutePathRewriteProperty {
        Exact = "exact"
    }
};

Synopsis

Constructors

HttpGatewayRoutePathMatchConfig()

Properties

PrefixPathMatch

Gateway route configuration for matching on the prefix of the URL path of the request.

PrefixPathRewrite

Gateway route configuration for rewriting the prefix of the URL path of the request.

WholePathMatch

Gateway route configuration for matching on the complete URL path of the request.

WholePathRewrite

Gateway route configuration for rewriting the complete URL path of the request..

Constructors

HttpGatewayRoutePathMatchConfig()

public HttpGatewayRoutePathMatchConfig()

Properties

PrefixPathMatch

Gateway route configuration for matching on the prefix of the URL path of the request.

public string PrefixPathMatch { get; set; }
Property Value

System.String

Remarks

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

PrefixPathRewrite

Gateway route configuration for rewriting the prefix of the URL path of the request.

public CfnGatewayRoute.IHttpGatewayRoutePrefixRewriteProperty PrefixPathRewrite { get; set; }
Property Value

CfnGatewayRoute.IHttpGatewayRoutePrefixRewriteProperty

Remarks

Default: - rewrites the request's URL path to '/'

WholePathMatch

Gateway route configuration for matching on the complete URL path of the request.

public CfnGatewayRoute.IHttpPathMatchProperty WholePathMatch { get; set; }
Property Value

CfnGatewayRoute.IHttpPathMatchProperty

Remarks

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

WholePathRewrite

Gateway route configuration for rewriting the complete URL path of the request..

public CfnGatewayRoute.IHttpGatewayRoutePathRewriteProperty WholePathRewrite { get; set; }
Property Value

CfnGatewayRoute.IHttpGatewayRoutePathRewriteProperty

Remarks

Default: - no rewrite will be performed on the request's complete URL path

Implements

IHttpGatewayRoutePathMatchConfig
Back to top Generated by DocFX