Class CfnService.HealthCheckConfigurationProperty
Describes the settings for the health check that AWS App Runner performs to monitor the health of a service.
Implements
Inherited Members
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
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
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
Remarks
Interval
The time interval, in seconds, between health checks.
public double? Interval { get; set; }
Property Value
Remarks
Path
The URL that health check requests are sent to.
public string? Path { get; set; }
Property Value
Remarks
Path is only applicable when you set Protocol to HTTP .
Default: "/"
Protocol
The IP protocol that App Runner uses to perform health checks for your service.
public string? Protocol { get; set; }
Property Value
Remarks
If you set Protocol to HTTP , App Runner sends health check requests to the HTTP path specified by Path .
Default: TCP
Timeout
The time, in seconds, to wait for a health check response before deciding it failed.
public double? Timeout { get; set; }
Property Value
Remarks
UnhealthyThreshold
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.
public double? UnhealthyThreshold { get; set; }