v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1426158150.9 KB

Submits a request to change the health status of a custom health check to healthy or unhealthy.

You can use UpdateInstanceCustomHealthStatus to change the status only for custom health checks, which you define using HealthCheckCustomConfig when you create a service. You can't use it to change the status for Route 53 health checks, which you define using HealthCheckConfig.

For more information, see HealthCheckCustomConfig.

post/#X-Amz-Target=Route53AutoNaming_v20170314.UpdateInstanceCustomHealthStatus

Headers

X-Amz-Target'Route53AutoNaming_v20170314.UpdateInstanceCustomHealthStatus' required

Request body

ServiceIdstring required

The ID of the service that includes the configuration for the custom health check that you want to change the status for.

InstanceIdstring required

The ID of the instance that you want to change the health status for.

Status'HEALTHY' | 'UNHEALTHY' required

The new status of the instance, <code>HEALTHY</code> or <code>UNHEALTHY</code>.

Response

Success