Show / Hide Table of Contents

Class CfnContainer.HealthCheckConfigProperty

HealthCheckConfig is a property of the PublicEndpoint property. It describes the healthcheck configuration of a container deployment on a container service.

Inheritance
object
CfnContainer.HealthCheckConfigProperty
Implements
CfnContainer.IHealthCheckConfigProperty
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.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContainer.HealthCheckConfigProperty : CfnContainer.IHealthCheckConfigProperty
Syntax (vb)
Public Class CfnContainer.HealthCheckConfigProperty Implements CfnContainer.IHealthCheckConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-healthcheckconfig.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.Lightsail;

             var healthCheckConfigProperty = new HealthCheckConfigProperty {
                 HealthyThreshold = 123,
                 IntervalSeconds = 123,
                 Path = "path",
                 SuccessCodes = "successCodes",
                 TimeoutSeconds = 123,
                 UnhealthyThreshold = 123
             };

Synopsis

Constructors

HealthCheckConfigProperty()

HealthCheckConfig is a property of the PublicEndpoint property. It describes the healthcheck configuration of a container deployment on a container service.

Properties

HealthyThreshold

The number of consecutive health check successes required before moving the container to the Healthy state.

IntervalSeconds

The approximate interval, in seconds, between health checks of an individual container.

Path

The path on the container on which to perform the health check.

SuccessCodes

The HTTP codes to use when checking for a successful response from a container.

TimeoutSeconds

The amount of time, in seconds, during which no response means a failed health check.

UnhealthyThreshold

The number of consecutive health check failures required before moving the container to the Unhealthy state.

Constructors

HealthCheckConfigProperty()

HealthCheckConfig is a property of the PublicEndpoint property. It describes the healthcheck configuration of a container deployment on a container service.

public HealthCheckConfigProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-healthcheckconfig.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.Lightsail;

             var healthCheckConfigProperty = new HealthCheckConfigProperty {
                 HealthyThreshold = 123,
                 IntervalSeconds = 123,
                 Path = "path",
                 SuccessCodes = "successCodes",
                 TimeoutSeconds = 123,
                 UnhealthyThreshold = 123
             };

Properties

HealthyThreshold

The number of consecutive health check successes required before moving the container to the Healthy state.

public double? HealthyThreshold { get; set; }
Property Value

double?

Remarks

The default value is 2 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-healthcheckconfig.html#cfn-lightsail-container-healthcheckconfig-healthythreshold

IntervalSeconds

The approximate interval, in seconds, between health checks of an individual container.

public double? IntervalSeconds { get; set; }
Property Value

double?

Remarks

You can specify between 5 and 300 seconds. The default value is 5 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-healthcheckconfig.html#cfn-lightsail-container-healthcheckconfig-intervalseconds

Path

The path on the container on which to perform the health check.

public string? Path { get; set; }
Property Value

string

Remarks

The default value is / .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-healthcheckconfig.html#cfn-lightsail-container-healthcheckconfig-path

SuccessCodes

The HTTP codes to use when checking for a successful response from a container.

public string? SuccessCodes { get; set; }
Property Value

string

Remarks

You can specify values between 200 and 499 . You can specify multiple values (for example, 200,202 ) or a range of values (for example, 200-299 ).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-healthcheckconfig.html#cfn-lightsail-container-healthcheckconfig-successcodes

TimeoutSeconds

The amount of time, in seconds, during which no response means a failed health check.

public double? TimeoutSeconds { get; set; }
Property Value

double?

Remarks

You can specify between 2 and 60 seconds. The default value is 2 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-healthcheckconfig.html#cfn-lightsail-container-healthcheckconfig-timeoutseconds

UnhealthyThreshold

The number of consecutive health check failures required before moving the container to the Unhealthy state.

public double? UnhealthyThreshold { get; set; }
Property Value

double?

Remarks

The default value is 2 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-healthcheckconfig.html#cfn-lightsail-container-healthcheckconfig-unhealthythreshold

Implements

CfnContainer.IHealthCheckConfigProperty
Back to top Generated by DocFX