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.
Creates a new health check.
ELB Load Balancers
If you're registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the EC2 instances. When you register an EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a similar function to an Amazon Route 53 health check.
Private Hosted Zones
You can associate health checks with failover resource record sets in a private hosted zone. Note the following:
Amazon Route 53 health checkers are outside the VPC. To check the health of an endpoint within a VPC by IP address, you must assign a public IP address to the instance in the VPC.
You can configure a health checker to check the health of an external resource that the instance relies on, such as a database server.
You can create a CloudWatch metric, associate an alarm with the metric, and then create
a health check that is based on the state of the alarm. For example, you might create
a CloudWatch metric that checks the status of the Amazon EC2
metric, add an alarm to the metric, and then create a health check that is based on
the state of the alarm. For information about creating CloudWatch metrics and alarms
by using the CloudWatch console, see the Amazon
CloudWatch User Guide.
For .NET Core and PCL this operation is only available in asynchronous form. Please refer to CreateHealthCheckAsync.
public abstract CreateHealthCheckResponse CreateHealthCheck( CreateHealthCheckRequest request )
Container for the necessary parameters to execute the CreateHealthCheck service method.
|HealthCheckAlreadyExistsException||The health check you're attempting to create already exists. Amazon Route 53 returns this error when you submit a request that has the following values: The same value for CallerReference as an existing health check, and one or more values that differ from the existing health check that has the same caller reference. The same value for CallerReference as a health check that you created and later deleted, regardless of the other settings in the request.|
|InvalidInputException||The input is not valid.|
|TooManyHealthChecksException||This health check can't be created because the current account has reached the limit on the number of active health checks. For information about default limits, see Limits in the Amazon Route 53 Developer Guide. For information about how to get the current limit for an account, see GetAccountLimit. To request a higher limit, create a case with the AWS Support Center. You have reached the maximum number of active health checks for an AWS account. To request a higher limit, create a case with the AWS Support Center.|
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms