Show / Hide Table of Contents

Class CfnRoutePropsMixin.TcpRouteProperty

An object that represents a TCP route type.

Inheritance
object
CfnRoutePropsMixin.TcpRouteProperty
Implements
CfnRoutePropsMixin.ITcpRouteProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnRoutePropsMixin.TcpRouteProperty : CfnRoutePropsMixin.ITcpRouteProperty
Syntax (vb)
Public Class CfnRoutePropsMixin.TcpRouteProperty Implements CfnRoutePropsMixin.ITcpRouteProperty
Remarks

See: 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.Mixins.Preview.AWS.AppMesh.Mixins;

             var tcpRouteProperty = new TcpRouteProperty {
                 Action = new TcpRouteActionProperty {
                     WeightedTargets = new [] { new WeightedTargetProperty {
                         Port = 123,
                         VirtualNode = "virtualNode",
                         Weight = 123
                     } }
                 },
                 Match = new TcpRouteMatchProperty {
                     Port = 123
                 },
                 Timeout = new TcpTimeoutProperty {
                     Idle = new DurationProperty {
                         Unit = "unit",
                         Value = 123
                     }
                 }
             };

Synopsis

Constructors

TcpRouteProperty()

An object that represents a TCP route type.

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

An object that represents a TCP route type.

public TcpRouteProperty()
Remarks

See: 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.Mixins.Preview.AWS.AppMesh.Mixins;

             var tcpRouteProperty = new TcpRouteProperty {
                 Action = new TcpRouteActionProperty {
                     WeightedTargets = new [] { new WeightedTargetProperty {
                         Port = 123,
                         VirtualNode = "virtualNode",
                         Weight = 123
                     } }
                 },
                 Match = new TcpRouteMatchProperty {
                     Port = 123
                 },
                 Timeout = new TcpTimeoutProperty {
                     Idle = new DurationProperty {
                         Unit = "unit",
                         Value = 123
                     }
                 }
             };

Properties

Action

The action to take if a match is determined.

public object? Action { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnRoutePropsMixin.ITcpRouteActionProperty

Match

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

public object? Match { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnRoutePropsMixin.ITcpRouteMatchProperty

Timeout

An object that represents types of timeouts.

public object? Timeout { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnRoutePropsMixin.ITcpTimeoutProperty

Implements

CfnRoutePropsMixin.ITcpRouteProperty
Back to top Generated by DocFX