Skip to contents

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

See https://www.paws-r-sdk.com/docs/servicediscovery_update_instance_custom_health_status/ for full documentation.

Usage

servicediscovery_update_instance_custom_health_status(
  ServiceId,
  InstanceId,
  Status
)

Arguments

ServiceId

[required] The ID or Amazon Resource Name (ARN) of the service that includes the configuration for the custom health check that you want to change the status for. For services created in a shared namespace, specify the service ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

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.