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.
To create a new health check, send a POST
request to the
/Route 53 API version/healthcheckresource. The request body must include a document with a
CreateHealthCheckRequest
element. The response returns the CreateHealthCheckResponse
element that contains metadata about the health check.
Namespace: Amazon.Route53
Assembly: AWSSDK.dll
Version: (assembly version)
public abstract CreateHealthCheckResponse CreateHealthCheck( CreateHealthCheckRequest request )
Container for the necessary parameters to execute the CreateHealthCheck service method.
Exception | Condition |
---|---|
HealthCheckAlreadyExistsException | The health check you are trying to create already exists. Amazon Route 53 returns this error when a health check has already been created with the specified CallerReference. |
InvalidInputException | Some value specified in the request is invalid or the XML document is malformed. |
TooManyHealthChecksException |
.NET Framework:
Supported in: 4.5, 4.0, 3.5