AWS SDK for .NET Documentation
HealthCheckConfig Class
AmazonAmazon.Route53.ModelHealthCheckConfig Did this page help you?   Yes   No    Tell us about it...

A complex type that contains the health check configuration.

Declaration Syntax
C#
public class HealthCheckConfig
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
HealthCheckConfig()()()()
Initializes a new instance of the HealthCheckConfig class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FailureThreshold
The number of consecutive health checks that an endpoint must pass or fail for Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. Valid values are integers between 1 and 10. For more information, see "How Amazon Route 53 Determines Whether an Endpoint Is Healthy" in the Amazon Route 53 Developer Guide.

Constraints:

Range
1 - 10


FullyQualifiedDomainName
Fully qualified domain name of the instance to be health checked.

Constraints:

Length
0 - 255


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IPAddress
IP Address of the instance being checked.

Constraints:

Length
0 - 15
Pattern
^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$


Port
Port on which connection will be opened to the instance to health check. For HTTP and HTTP_STR_MATCH this defaults to 80 if the port is not specified. For HTTPS and HTTPS_STR_MATCH this defaults to 443 if the port is not specified.

Constraints:

Range
1 - 65535


RequestInterval
The number of seconds between the time that Route 53 gets a response from your endpoint and the time that it sends the next health-check request. Each Route 53 health checker makes requests at this interval. Valid values are 10 and 30. The default value is 30.

Constraints:

Range
10 - 30


ResourcePath
Path to ping on the instance to check the health. Required for HTTP, HTTPS, HTTP_STR_MATCH, and HTTPS_STR_MATCH health checks, HTTP request is issued to the instance on the given port and path.

Constraints:

Length
0 - 255


SearchString
A string to search for in the body of a health check response. Required for HTTP_STR_MATCH and HTTPS_STR_MATCH health checks.

Constraints:

Length
0 - 255


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Type
The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, and HTTPS_STR_MATCH.

Constraints:

Allowed Values
HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, TCP


WithFailureThreshold(Int32) Obsolete.
Sets the FailureThreshold property

WithFullyQualifiedDomainName(String) Obsolete.
Sets the FullyQualifiedDomainName property

WithIPAddress(String) Obsolete.
Sets the IPAddress property

WithPort(Int32) Obsolete.
Sets the Port property

WithRequestInterval(Int32) Obsolete.
Sets the RequestInterval property

WithResourcePath(String) Obsolete.
Sets the ResourcePath property

WithSearchString(String) Obsolete.
Sets the SearchString property

WithType(String) Obsolete.
Sets the Type property

Inheritance Hierarchy
Object
HealthCheckConfig

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)