Show / Hide Table of Contents

Class CfnGatewayRoute.GrpcGatewayRouteMatchProperty

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

Inheritance
object
CfnGatewayRoute.GrpcGatewayRouteMatchProperty
Implements
CfnGatewayRoute.IGrpcGatewayRouteMatchProperty
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 CfnGatewayRoute.GrpcGatewayRouteMatchProperty : CfnGatewayRoute.IGrpcGatewayRouteMatchProperty
Syntax (vb)
Public Class CfnGatewayRoute.GrpcGatewayRouteMatchProperty Implements CfnGatewayRoute.IGrpcGatewayRouteMatchProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutematch.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 grpcGatewayRouteMatchProperty = new GrpcGatewayRouteMatchProperty {
                 Hostname = new GatewayRouteHostnameMatchProperty {
                     Exact = "exact",
                     Suffix = "suffix"
                 },
                 Metadata = new [] { new GrpcGatewayRouteMetadataProperty {
                     Name = "name",

                     // the properties below are optional
                     Invert = false,
                     Match = new GatewayRouteMetadataMatchProperty {
                         Exact = "exact",
                         Prefix = "prefix",
                         Range = new GatewayRouteRangeMatchProperty {
                             End = 123,
                             Start = 123
                         },
                         Regex = "regex",
                         Suffix = "suffix"
                     }
                 } },
                 Port = 123,
                 ServiceName = "serviceName"
             };

Synopsis

Constructors

GrpcGatewayRouteMatchProperty()

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

Properties

Hostname

The gateway route host name to be matched on.

Metadata

The gateway route metadata to be matched on.

Port

The gateway route port to be matched on.

ServiceName

The fully qualified domain name for the service to match from the request.

Constructors

GrpcGatewayRouteMatchProperty()

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

public GrpcGatewayRouteMatchProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutematch.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 grpcGatewayRouteMatchProperty = new GrpcGatewayRouteMatchProperty {
                 Hostname = new GatewayRouteHostnameMatchProperty {
                     Exact = "exact",
                     Suffix = "suffix"
                 },
                 Metadata = new [] { new GrpcGatewayRouteMetadataProperty {
                     Name = "name",

                     // the properties below are optional
                     Invert = false,
                     Match = new GatewayRouteMetadataMatchProperty {
                         Exact = "exact",
                         Prefix = "prefix",
                         Range = new GatewayRouteRangeMatchProperty {
                             End = 123,
                             Start = 123
                         },
                         Regex = "regex",
                         Suffix = "suffix"
                     }
                 } },
                 Port = 123,
                 ServiceName = "serviceName"
             };

Properties

Hostname

The gateway route host name to be matched on.

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

object

Remarks

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

Type union: either IResolvable or CfnGatewayRoute.IGatewayRouteHostnameMatchProperty

Metadata

The gateway route metadata to be matched on.

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

object

Remarks

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

Type union: either IResolvable or (either IResolvable or CfnGatewayRoute.IGrpcGatewayRouteMetadataProperty)[]

Port

The gateway route port to be matched on.

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

double?

Remarks

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

ServiceName

The fully qualified domain name for the service to match from the request.

public string? ServiceName { get; set; }
Property Value

string

Remarks

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

Implements

CfnGatewayRoute.IGrpcGatewayRouteMatchProperty
Back to top Generated by DocFX