paws.networking (version 0.1.6)

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

Description

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

Usage

servicediscovery_update_instance_custom_health_status(ServiceId,
  InstanceId, Status)

Arguments

ServiceId

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

InstanceId

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

Status

[required] The new status of the instance, HEALTHY or UNHEALTHY.

Request syntax

svc$update_instance_custom_health_status(
  ServiceId = "string",
  InstanceId = "string",
  Status = "HEALTHY"|"UNHEALTHY"
)

Details

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.