Show / Hide Table of Contents

Class TcpHealthCheckOptions

Properties used to define TCP Based healthchecks.

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

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;
using Amazon.CDK;
TcpHealthCheckOptions tcpHealthCheckOptions = new TcpHealthCheckOptions {
    HealthyThreshold = 123,
    Interval = Duration.Minutes(30),
    Timeout = Duration.Minutes(30),
    UnhealthyThreshold = 123
};

Synopsis

Constructors

TcpHealthCheckOptions()

Properties

HealthyThreshold

The number of consecutive successful health checks that must occur before declaring listener healthy.

Interval

The time period between each health check execution.

Timeout

The amount of time to wait when receiving a response from the health check.

UnhealthyThreshold

The number of consecutive failed health checks that must occur before declaring a listener unhealthy.

Constructors

TcpHealthCheckOptions()

public TcpHealthCheckOptions()

Properties

HealthyThreshold

The number of consecutive successful health checks that must occur before declaring listener healthy.

public Nullable<double> HealthyThreshold { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Default: 2

Interval

The time period between each health check execution.

public Duration Interval { get; set; }
Property Value

Duration

Remarks

Default: Duration.seconds(5)

Timeout

The amount of time to wait when receiving a response from the health check.

public Duration Timeout { get; set; }
Property Value

Duration

Remarks

Default: Duration.seconds(2)

UnhealthyThreshold

The number of consecutive failed health checks that must occur before declaring a listener unhealthy.

public Nullable<double> UnhealthyThreshold { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Default: - 2

Implements

ITcpHealthCheckOptions
Back to top Generated by DocFX