Show / Hide Table of Contents

Interface IHttpGatewayRoutePathMatchConfig

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

Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHttpGatewayRoutePathMatchConfig
Syntax (vb)
Public Interface 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

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

Properties

PrefixPathMatch

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

string? PrefixPathMatch { get; }
Property Value

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.

CfnGatewayRoute.IHttpGatewayRoutePrefixRewriteProperty? PrefixPathRewrite { get; }
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.

CfnGatewayRoute.IHttpPathMatchProperty? WholePathMatch { get; }
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..

CfnGatewayRoute.IHttpGatewayRoutePathRewriteProperty? WholePathRewrite { get; }
Property Value

CfnGatewayRoute.IHttpGatewayRoutePathRewriteProperty

Remarks

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

Back to top Generated by DocFX