/AWS1/CL_SDY=>UPDATEINSTCUSTOMHEALTHSTATUS()
¶
About UpdateInstanceCustomHealthStatus¶
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.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_SERVICEID
TYPE /AWS1/SDYRESOURCEID
/AWS1/SDYRESOURCEID
¶
The ID of the service that includes the configuration for the custom health check that you want to change the status for.
IV_INSTANCEID
TYPE /AWS1/SDYRESOURCEID
/AWS1/SDYRESOURCEID
¶
The ID of the instance that you want to change the health status for.
IV_STATUS
TYPE /AWS1/SDYCUSTOMHEALTHSTATUS
/AWS1/SDYCUSTOMHEALTHSTATUS
¶
The new status of the instance,
HEALTHY
orUNHEALTHY
.