Show / Hide Table of Contents

Class CfnService.HealthCheckConfigurationProperty

Describes the settings for the health check that AWS App Runner performs to monitor the health of a service.

Inheritance
object
CfnService.HealthCheckConfigurationProperty
Implements
CfnService.IHealthCheckConfigurationProperty
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.AppRunner
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnService.HealthCheckConfigurationProperty : CfnService.IHealthCheckConfigurationProperty
Syntax (vb)
Public Class CfnService.HealthCheckConfigurationProperty Implements CfnService.IHealthCheckConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.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.AppRunner;

             var healthCheckConfigurationProperty = new HealthCheckConfigurationProperty {
                 HealthyThreshold = 123,
                 Interval = 123,
                 Path = "path",
                 Protocol = "protocol",
                 Timeout = 123,
                 UnhealthyThreshold = 123
             };

Synopsis

Constructors

HealthCheckConfigurationProperty()

Describes the settings for the health check that AWS App Runner performs to monitor the health of a service.

Properties

HealthyThreshold

The number of consecutive checks that must succeed before App Runner decides that the service is healthy.

Interval

The time interval, in seconds, between health checks.

Path

The URL that health check requests are sent to.

Protocol

The IP protocol that App Runner uses to perform health checks for your service.

Timeout

The time, in seconds, to wait for a health check response before deciding it failed.

UnhealthyThreshold

The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.

Constructors

HealthCheckConfigurationProperty()

Describes the settings for the health check that AWS App Runner performs to monitor the health of a service.

public HealthCheckConfigurationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.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.AppRunner;

             var healthCheckConfigurationProperty = new HealthCheckConfigurationProperty {
                 HealthyThreshold = 123,
                 Interval = 123,
                 Path = "path",
                 Protocol = "protocol",
                 Timeout = 123,
                 UnhealthyThreshold = 123
             };

Properties

HealthyThreshold

The number of consecutive checks that must succeed before App Runner decides that the service is healthy.

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

double?

Remarks

Default: 1

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-healthythreshold

Interval

The time interval, in seconds, between health checks.

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

double?

Remarks

Default: 5

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-interval

Path

The URL that health check requests are sent to.

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

string

Remarks

Path is only applicable when you set Protocol to HTTP .

Default: "/"

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-path

Protocol

The IP protocol that App Runner uses to perform health checks for your service.

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

string

Remarks

If you set Protocol to HTTP , App Runner sends health check requests to the HTTP path specified by Path .

Default: TCP

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-protocol

Timeout

The time, in seconds, to wait for a health check response before deciding it failed.

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

double?

Remarks

Default: 2

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-timeout

UnhealthyThreshold

The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.

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

double?

Remarks

Default: 5

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-unhealthythreshold

Implements

CfnService.IHealthCheckConfigurationProperty
Back to top Generated by DocFX