Show / Hide Table of Contents

Class CfnRoute.GrpcRouteActionProperty

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

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

See: 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()

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

Properties

WeightedTargets

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

Constructors

GrpcRouteActionProperty()

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

public GrpcRouteActionProperty()
Remarks

See: 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
                 } }
             };

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

object

Remarks

See: 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