Show / Hide Table of Contents

Class CfnRoute.GrpcRouteActionProperty

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

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcrouteaction.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 grpcRouteActionProperty = new GrpcRouteActionProperty {
    WeightedTargets = new [] { new WeightedTargetProperty {
        VirtualNode = "virtualNode",
        Weight = 123,

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

Synopsis

Constructors

GrpcRouteActionProperty()

Properties

WeightedTargets

An object that represents the targets that traffic is routed to when a request matches the route.

Constructors

GrpcRouteActionProperty()

public GrpcRouteActionProperty()

Properties

WeightedTargets

An object that represents the targets that traffic is routed to when a request matches the route.

public object WeightedTargets { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcrouteaction.html#cfn-appmesh-route-grpcrouteaction-weightedtargets

Implements

CfnRoute.IGrpcRouteActionProperty
Back to top Generated by DocFX