Show / Hide Table of Contents

Interface CfnRoute.ITcpRouteProperty

An object that represents a TCP route type.

Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public interface ITcpRouteProperty
Syntax (vb)
Public Interface ITcpRouteProperty
Remarks

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

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

    // the properties below are optional
    Match = new TcpRouteMatchProperty {
        Port = 123
    },
    Timeout = new TcpTimeoutProperty {
        Idle = new DurationProperty {
            Unit = "unit",
            Value = 123
        }
    }
};

Synopsis

Properties

Action

The action to take if a match is determined.

Match

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

Timeout

An object that represents types of timeouts.

Properties

Action

The action to take if a match is determined.

object Action { get; }
Property Value

System.Object

Remarks

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

Match

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

virtual object Match { get; }
Property Value

System.Object

Remarks

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

Timeout

An object that represents types of timeouts.

virtual object Timeout { get; }
Property Value

System.Object

Remarks

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

Back to top Generated by DocFX