Show / Hide Table of Contents

Interface CfnGatewayRoute.IHttpGatewayRouteProperty

An object that represents an HTTP gateway route.

Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnGatewayRoute.IHttpGatewayRouteProperty
Syntax (vb)
Public Interface CfnGatewayRoute.IHttpGatewayRouteProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroute.html

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 httpGatewayRouteProperty = new HttpGatewayRouteProperty {
                 Action = new HttpGatewayRouteActionProperty {
                     Target = new GatewayRouteTargetProperty {
                         VirtualService = new GatewayRouteVirtualServiceProperty {
                             VirtualServiceName = "virtualServiceName"
                         },

                         // the properties below are optional
                         Port = 123
                     },

                     // the properties below are optional
                     Rewrite = new HttpGatewayRouteRewriteProperty {
                         Hostname = new GatewayRouteHostnameRewriteProperty {
                             DefaultTargetHostname = "defaultTargetHostname"
                         },
                         Path = new HttpGatewayRoutePathRewriteProperty {
                             Exact = "exact"
                         },
                         Prefix = new HttpGatewayRoutePrefixRewriteProperty {
                             DefaultPrefix = "defaultPrefix",
                             Value = "value"
                         }
                     }
                 },
                 Match = new HttpGatewayRouteMatchProperty {
                     Headers = new [] { new HttpGatewayRouteHeaderProperty {
                         Name = "name",

                         // the properties below are optional
                         Invert = false,
                         Match = new HttpGatewayRouteHeaderMatchProperty {
                             Exact = "exact",
                             Prefix = "prefix",
                             Range = new GatewayRouteRangeMatchProperty {
                                 End = 123,
                                 Start = 123
                             },
                             Regex = "regex",
                             Suffix = "suffix"
                         }
                     } },
                     Hostname = new GatewayRouteHostnameMatchProperty {
                         Exact = "exact",
                         Suffix = "suffix"
                     },
                     Method = "method",
                     Path = new HttpPathMatchProperty {
                         Exact = "exact",
                         Regex = "regex"
                     },
                     Port = 123,
                     Prefix = "prefix",
                     QueryParameters = new [] { new QueryParameterProperty {
                         Name = "name",

                         // the properties below are optional
                         Match = new HttpQueryParameterMatchProperty {
                             Exact = "exact"
                         }
                     } }
                 }
             };

Synopsis

Properties

Action

An object that represents the action to take if a match is determined.

Match

An object that represents the criteria for determining a request match.

Properties

Action

An object that represents the action to take if a match is determined.

object Action { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroute.html#cfn-appmesh-gatewayroute-httpgatewayroute-action

Match

An object that represents the criteria for determining a request match.

object Match { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroute.html#cfn-appmesh-gatewayroute-httpgatewayroute-match

Back to top Generated by DocFX