AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Container for the parameters to the UpdateHealthCheck operation. This action updates an existing health check.

To update a health check, send a POST request to the

/Route
            53 API version/healthcheck/health check ID
resource. The request body must include a document with an UpdateHealthCheckRequest element. The response returns an UpdateHealthCheckResponse element, which contains metadata about the health check.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Route53.AmazonRoute53Request
      Amazon.Route53.Model.UpdateHealthCheckRequest

Namespace: Amazon.Route53.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class UpdateHealthCheckRequest : AmazonRoute53Request
         IRequestEvents

The UpdateHealthCheckRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateHealthCheckRequest()

Properties

NameTypeDescription
Public Property ChildHealthChecks System.Collections.Generic.List<System.String> Gets and sets the property ChildHealthChecks.

For a specified parent health check, a list of HealthCheckId values for the associated child health checks.

Specify this value only if you want to change it.

Public Property EnableSNI System.Boolean Gets and sets the property EnableSNI.

Specify whether you want Amazon Route 53 to send the value of FullyQualifiedDomainName to the endpoint in the client_hello message during TLS negotiation. If you don't specify a value for EnableSNI, Amazon Route 53 defaults to true when Type is HTTPS or HTTPS_STR_MATCH and defaults to false when Type is any other value.

Specify this value only if you want to change it.

Public Property FailureThreshold System.Int32 Gets and sets the property FailureThreshold.

The number of consecutive health checks that an endpoint must pass or fail for Amazon 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.

Specify this value only if you want to change it.

Public Property FullyQualifiedDomainName System.String Gets and sets the property FullyQualifiedDomainName.

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

Specify this value only if you want to change it.

Public Property HealthCheckId System.String Gets and sets the property HealthCheckId.

The ID of the health check to update.

Public Property HealthCheckVersion System.Int64 Gets and sets the property HealthCheckVersion.

Optional. When you specify a health check version, Amazon Route 53 compares this value with the current value in the health check, which prevents you from updating the health check when the versions don't match. Using HealthCheckVersion lets you prevent overwriting another change to the health check.

Public Property HealthThreshold System.Int32 Gets and sets the property HealthThreshold.

The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive.

Specify this value only if you want to change it.

Public Property Inverted System.Boolean Gets and sets the property Inverted.

A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but Inverted is True, then Amazon Route 53 considers the health check to be unhealthy.

Specify this value only if you want to change it.

Public Property IPAddress System.String Gets and sets the property IPAddress.

The IP address of the resource that you want to check.

Specify this value only if you want to change it.

Public Property Port System.Int32 Gets and sets the property Port.

The port on which you want Amazon Route 53 to open a connection to perform health checks.

Specify this value only if you want to change it.

Public Property ResourcePath System.String Gets and sets the property ResourcePath.

The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html.

Specify this value only if you want to change it.

Public Property SearchString System.String Gets and sets the property SearchString.

If the value of Type is HTTP_STR_MATCH or HTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Amazon Route 53 considers the resource healthy. Amazon Route 53 considers case when searching for SearchString in the response body.

Specify this value only if you want to change it.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8