Show / Hide Table of Contents

Class HttpGatewayRoutePathMatchConfig

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

Inheritance
object
HttpGatewayRoutePathMatchConfig
Implements
IHttpGatewayRoutePathMatchConfig
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 HttpGatewayRoutePathMatchConfig : IHttpGatewayRoutePathMatchConfig
Syntax (vb)
Public Class HttpGatewayRoutePathMatchConfig 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()

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

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()

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

public HttpGatewayRoutePathMatchConfig()
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"
                }
            };

Properties

PrefixPathMatch

Gateway 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

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