Show / Hide Table of Contents

Class CfnGatewayRoute.GrpcGatewayRouteProperty

An object that represents a gRPC gateway route.

Inheritance
System.Object
CfnGatewayRoute.GrpcGatewayRouteProperty
Implements
CfnGatewayRoute.IGrpcGatewayRouteProperty
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public class GrpcGatewayRouteProperty : Object, CfnGatewayRoute.IGrpcGatewayRouteProperty
Syntax (vb)
Public Class GrpcGatewayRouteProperty
    Inherits Object
    Implements CfnGatewayRoute.IGrpcGatewayRouteProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroute.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 grpcGatewayRouteProperty = new GrpcGatewayRouteProperty {
    Action = new GrpcGatewayRouteActionProperty {
        Target = new GatewayRouteTargetProperty {
            VirtualService = new GatewayRouteVirtualServiceProperty {
                VirtualServiceName = "virtualServiceName"
            },

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

        // the properties below are optional
        Rewrite = new GrpcGatewayRouteRewriteProperty {
            Hostname = new GatewayRouteHostnameRewriteProperty {
                DefaultTargetHostname = "defaultTargetHostname"
            }
        }
    },
    Match = 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

GrpcGatewayRouteProperty()

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.

Constructors

GrpcGatewayRouteProperty()

public GrpcGatewayRouteProperty()

Properties

Action

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

public object Action { get; set; }
Property Value

System.Object

Remarks

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

Match

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

public object Match { get; set; }
Property Value

System.Object

Remarks

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

Implements

CfnGatewayRoute.IGrpcGatewayRouteProperty
Back to top Generated by DocFX