Show / Hide Table of Contents

Class CfnGatewayRoutePropsMixin.GatewayRouteSpecProperty

An object that represents a gateway route specification.

Inheritance
object
CfnGatewayRoutePropsMixin.GatewayRouteSpecProperty
Implements
CfnGatewayRoutePropsMixin.IGatewayRouteSpecProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnGatewayRoutePropsMixin.GatewayRouteSpecProperty : CfnGatewayRoutePropsMixin.IGatewayRouteSpecProperty
Syntax (vb)
Public Class CfnGatewayRoutePropsMixin.GatewayRouteSpecProperty Implements CfnGatewayRoutePropsMixin.IGatewayRouteSpecProperty
Remarks

Specify one gateway route type.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutespec.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.Mixins.Preview.AWS.AppMesh.Mixins;

             var gatewayRouteSpecProperty = new GatewayRouteSpecProperty {
                 GrpcRoute = new GrpcGatewayRouteProperty {
                     Action = new GrpcGatewayRouteActionProperty {
                         Rewrite = new GrpcGatewayRouteRewriteProperty {
                             Hostname = new GatewayRouteHostnameRewriteProperty {
                                 DefaultTargetHostname = "defaultTargetHostname"
                             }
                         },
                         Target = new GatewayRouteTargetProperty {
                             Port = 123,
                             VirtualService = new GatewayRouteVirtualServiceProperty {
                                 VirtualServiceName = "virtualServiceName"
                             }
                         }
                     },
                     Match = new GrpcGatewayRouteMatchProperty {
                         Hostname = new GatewayRouteHostnameMatchProperty {
                             Exact = "exact",
                             Suffix = "suffix"
                         },
                         Metadata = new [] { new GrpcGatewayRouteMetadataProperty {
                             Invert = false,
                             Match = new GatewayRouteMetadataMatchProperty {
                                 Exact = "exact",
                                 Prefix = "prefix",
                                 Range = new GatewayRouteRangeMatchProperty {
                                     End = 123,
                                     Start = 123
                                 },
                                 Regex = "regex",
                                 Suffix = "suffix"
                             },
                             Name = "name"
                         } },
                         Port = 123,
                         ServiceName = "serviceName"
                     }
                 },
                 Http2Route = new HttpGatewayRouteProperty {
                     Action = new HttpGatewayRouteActionProperty {
                         Rewrite = new HttpGatewayRouteRewriteProperty {
                             Hostname = new GatewayRouteHostnameRewriteProperty {
                                 DefaultTargetHostname = "defaultTargetHostname"
                             },
                             Path = new HttpGatewayRoutePathRewriteProperty {
                                 Exact = "exact"
                             },
                             Prefix = new HttpGatewayRoutePrefixRewriteProperty {
                                 DefaultPrefix = "defaultPrefix",
                                 Value = "value"
                             }
                         },
                         Target = new GatewayRouteTargetProperty {
                             Port = 123,
                             VirtualService = new GatewayRouteVirtualServiceProperty {
                                 VirtualServiceName = "virtualServiceName"
                             }
                         }
                     },
                     Match = new HttpGatewayRouteMatchProperty {
                         Headers = new [] { new HttpGatewayRouteHeaderProperty {
                             Invert = false,
                             Match = new HttpGatewayRouteHeaderMatchProperty {
                                 Exact = "exact",
                                 Prefix = "prefix",
                                 Range = new GatewayRouteRangeMatchProperty {
                                     End = 123,
                                     Start = 123
                                 },
                                 Regex = "regex",
                                 Suffix = "suffix"
                             },
                             Name = "name"
                         } },
                         Hostname = new GatewayRouteHostnameMatchProperty {
                             Exact = "exact",
                             Suffix = "suffix"
                         },
                         Method = "method",
                         Path = new HttpPathMatchProperty {
                             Exact = "exact",
                             Regex = "regex"
                         },
                         Port = 123,
                         Prefix = "prefix",
                         QueryParameters = new [] { new QueryParameterProperty {
                             Match = new HttpQueryParameterMatchProperty {
                                 Exact = "exact"
                             },
                             Name = "name"
                         } }
                     }
                 },
                 HttpRoute = new HttpGatewayRouteProperty {
                     Action = new HttpGatewayRouteActionProperty {
                         Rewrite = new HttpGatewayRouteRewriteProperty {
                             Hostname = new GatewayRouteHostnameRewriteProperty {
                                 DefaultTargetHostname = "defaultTargetHostname"
                             },
                             Path = new HttpGatewayRoutePathRewriteProperty {
                                 Exact = "exact"
                             },
                             Prefix = new HttpGatewayRoutePrefixRewriteProperty {
                                 DefaultPrefix = "defaultPrefix",
                                 Value = "value"
                             }
                         },
                         Target = new GatewayRouteTargetProperty {
                             Port = 123,
                             VirtualService = new GatewayRouteVirtualServiceProperty {
                                 VirtualServiceName = "virtualServiceName"
                             }
                         }
                     },
                     Match = new HttpGatewayRouteMatchProperty {
                         Headers = new [] { new HttpGatewayRouteHeaderProperty {
                             Invert = false,
                             Match = new HttpGatewayRouteHeaderMatchProperty {
                                 Exact = "exact",
                                 Prefix = "prefix",
                                 Range = new GatewayRouteRangeMatchProperty {
                                     End = 123,
                                     Start = 123
                                 },
                                 Regex = "regex",
                                 Suffix = "suffix"
                             },
                             Name = "name"
                         } },
                         Hostname = new GatewayRouteHostnameMatchProperty {
                             Exact = "exact",
                             Suffix = "suffix"
                         },
                         Method = "method",
                         Path = new HttpPathMatchProperty {
                             Exact = "exact",
                             Regex = "regex"
                         },
                         Port = 123,
                         Prefix = "prefix",
                         QueryParameters = new [] { new QueryParameterProperty {
                             Match = new HttpQueryParameterMatchProperty {
                                 Exact = "exact"
                             },
                             Name = "name"
                         } }
                     }
                 },
                 Priority = 123
             };

Synopsis

Constructors

GatewayRouteSpecProperty()

An object that represents a gateway route specification.

Properties

GrpcRoute

An object that represents the specification of a gRPC gateway route.

Http2Route

An object that represents the specification of an HTTP/2 gateway route.

HttpRoute

An object that represents the specification of an HTTP gateway route.

Priority

The ordering of the gateway routes spec.

Constructors

GatewayRouteSpecProperty()

An object that represents a gateway route specification.

public GatewayRouteSpecProperty()
Remarks

Specify one gateway route type.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutespec.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.Mixins.Preview.AWS.AppMesh.Mixins;

             var gatewayRouteSpecProperty = new GatewayRouteSpecProperty {
                 GrpcRoute = new GrpcGatewayRouteProperty {
                     Action = new GrpcGatewayRouteActionProperty {
                         Rewrite = new GrpcGatewayRouteRewriteProperty {
                             Hostname = new GatewayRouteHostnameRewriteProperty {
                                 DefaultTargetHostname = "defaultTargetHostname"
                             }
                         },
                         Target = new GatewayRouteTargetProperty {
                             Port = 123,
                             VirtualService = new GatewayRouteVirtualServiceProperty {
                                 VirtualServiceName = "virtualServiceName"
                             }
                         }
                     },
                     Match = new GrpcGatewayRouteMatchProperty {
                         Hostname = new GatewayRouteHostnameMatchProperty {
                             Exact = "exact",
                             Suffix = "suffix"
                         },
                         Metadata = new [] { new GrpcGatewayRouteMetadataProperty {
                             Invert = false,
                             Match = new GatewayRouteMetadataMatchProperty {
                                 Exact = "exact",
                                 Prefix = "prefix",
                                 Range = new GatewayRouteRangeMatchProperty {
                                     End = 123,
                                     Start = 123
                                 },
                                 Regex = "regex",
                                 Suffix = "suffix"
                             },
                             Name = "name"
                         } },
                         Port = 123,
                         ServiceName = "serviceName"
                     }
                 },
                 Http2Route = new HttpGatewayRouteProperty {
                     Action = new HttpGatewayRouteActionProperty {
                         Rewrite = new HttpGatewayRouteRewriteProperty {
                             Hostname = new GatewayRouteHostnameRewriteProperty {
                                 DefaultTargetHostname = "defaultTargetHostname"
                             },
                             Path = new HttpGatewayRoutePathRewriteProperty {
                                 Exact = "exact"
                             },
                             Prefix = new HttpGatewayRoutePrefixRewriteProperty {
                                 DefaultPrefix = "defaultPrefix",
                                 Value = "value"
                             }
                         },
                         Target = new GatewayRouteTargetProperty {
                             Port = 123,
                             VirtualService = new GatewayRouteVirtualServiceProperty {
                                 VirtualServiceName = "virtualServiceName"
                             }
                         }
                     },
                     Match = new HttpGatewayRouteMatchProperty {
                         Headers = new [] { new HttpGatewayRouteHeaderProperty {
                             Invert = false,
                             Match = new HttpGatewayRouteHeaderMatchProperty {
                                 Exact = "exact",
                                 Prefix = "prefix",
                                 Range = new GatewayRouteRangeMatchProperty {
                                     End = 123,
                                     Start = 123
                                 },
                                 Regex = "regex",
                                 Suffix = "suffix"
                             },
                             Name = "name"
                         } },
                         Hostname = new GatewayRouteHostnameMatchProperty {
                             Exact = "exact",
                             Suffix = "suffix"
                         },
                         Method = "method",
                         Path = new HttpPathMatchProperty {
                             Exact = "exact",
                             Regex = "regex"
                         },
                         Port = 123,
                         Prefix = "prefix",
                         QueryParameters = new [] { new QueryParameterProperty {
                             Match = new HttpQueryParameterMatchProperty {
                                 Exact = "exact"
                             },
                             Name = "name"
                         } }
                     }
                 },
                 HttpRoute = new HttpGatewayRouteProperty {
                     Action = new HttpGatewayRouteActionProperty {
                         Rewrite = new HttpGatewayRouteRewriteProperty {
                             Hostname = new GatewayRouteHostnameRewriteProperty {
                                 DefaultTargetHostname = "defaultTargetHostname"
                             },
                             Path = new HttpGatewayRoutePathRewriteProperty {
                                 Exact = "exact"
                             },
                             Prefix = new HttpGatewayRoutePrefixRewriteProperty {
                                 DefaultPrefix = "defaultPrefix",
                                 Value = "value"
                             }
                         },
                         Target = new GatewayRouteTargetProperty {
                             Port = 123,
                             VirtualService = new GatewayRouteVirtualServiceProperty {
                                 VirtualServiceName = "virtualServiceName"
                             }
                         }
                     },
                     Match = new HttpGatewayRouteMatchProperty {
                         Headers = new [] { new HttpGatewayRouteHeaderProperty {
                             Invert = false,
                             Match = new HttpGatewayRouteHeaderMatchProperty {
                                 Exact = "exact",
                                 Prefix = "prefix",
                                 Range = new GatewayRouteRangeMatchProperty {
                                     End = 123,
                                     Start = 123
                                 },
                                 Regex = "regex",
                                 Suffix = "suffix"
                             },
                             Name = "name"
                         } },
                         Hostname = new GatewayRouteHostnameMatchProperty {
                             Exact = "exact",
                             Suffix = "suffix"
                         },
                         Method = "method",
                         Path = new HttpPathMatchProperty {
                             Exact = "exact",
                             Regex = "regex"
                         },
                         Port = 123,
                         Prefix = "prefix",
                         QueryParameters = new [] { new QueryParameterProperty {
                             Match = new HttpQueryParameterMatchProperty {
                                 Exact = "exact"
                             },
                             Name = "name"
                         } }
                     }
                 },
                 Priority = 123
             };

Properties

GrpcRoute

An object that represents the specification of a gRPC gateway route.

public object? GrpcRoute { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnGatewayRoutePropsMixin.IGrpcGatewayRouteProperty

Http2Route

An object that represents the specification of an HTTP/2 gateway route.

public object? Http2Route { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnGatewayRoutePropsMixin.IHttpGatewayRouteProperty

HttpRoute

An object that represents the specification of an HTTP gateway route.

public object? HttpRoute { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnGatewayRoutePropsMixin.IHttpGatewayRouteProperty

Priority

The ordering of the gateway routes spec.

public double? Priority { get; set; }
Property Value

double?

Remarks

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

Implements

CfnGatewayRoutePropsMixin.IGatewayRouteSpecProperty
Back to top Generated by DocFX