Show / Hide Table of Contents

Class CfnRoute.TcpRouteProperty

An object that represents a TCP route type.

Inheritance
System.Object
CfnRoute.TcpRouteProperty
Implements
CfnRoute.ITcpRouteProperty
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public class TcpRouteProperty : Object, CfnRoute.ITcpRouteProperty
Syntax (vb)
Public Class TcpRouteProperty
    Inherits Object
    Implements CfnRoute.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

Constructors

TcpRouteProperty()

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.

Constructors

TcpRouteProperty()

public TcpRouteProperty()

Properties

Action

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-route-tcproute.html#cfn-appmesh-route-tcproute-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-route-tcproute.html#cfn-appmesh-route-tcproute-match

Timeout

An object that represents types of timeouts.

public object Timeout { get; set; }
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

Implements

CfnRoute.ITcpRouteProperty
Back to top Generated by DocFX