Show / Hide Table of Contents

Class CfnRoute.GrpcRouteMatchProperty

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

Inheritance
object
CfnRoute.GrpcRouteMatchProperty
Implements
CfnRoute.IGrpcRouteMatchProperty
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 CfnRoute.GrpcRouteMatchProperty : CfnRoute.IGrpcRouteMatchProperty
Syntax (vb)
Public Class CfnRoute.GrpcRouteMatchProperty Implements CfnRoute.IGrpcRouteMatchProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutematch.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 grpcRouteMatchProperty = new GrpcRouteMatchProperty {
                 Metadata = new [] { new GrpcRouteMetadataProperty {
                     Name = "name",

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

Synopsis

Constructors

GrpcRouteMatchProperty()

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

Properties

Metadata

An object that represents the data to match from the request.

MethodName

The method name to match from the request.

Port

The port number to match on.

ServiceName

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

Constructors

GrpcRouteMatchProperty()

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

public GrpcRouteMatchProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutematch.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 grpcRouteMatchProperty = new GrpcRouteMatchProperty {
                 Metadata = new [] { new GrpcRouteMetadataProperty {
                     Name = "name",

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

Properties

Metadata

An object that represents the data to match from the request.

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

object

Remarks

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

Type union: either IResolvable or (either IResolvable or CfnRoute.IGrpcRouteMetadataProperty)[]

MethodName

The method name to match from the request.

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

string

Remarks

If you specify a name, you must also specify a serviceName .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutematch.html#cfn-appmesh-route-grpcroutematch-methodname

Port

The port number to match on.

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

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutematch.html#cfn-appmesh-route-grpcroutematch-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-route-grpcroutematch.html#cfn-appmesh-route-grpcroutematch-servicename

Implements

CfnRoute.IGrpcRouteMatchProperty
Back to top Generated by DocFX