healthCheckVersion property
A sequential counter that Amazon Route 53 sets to 1
when you
create a health check and increments by 1 each time you update settings for
the health check.
We recommend that you use GetHealthCheck
or
ListHealthChecks
to get the current value of
HealthCheckVersion
for the health check that you want to
update, and that you include that value in your
UpdateHealthCheck
request. This prevents Route 53 from
overwriting an intervening update:
-
If the value in the
UpdateHealthCheck
request matches the value ofHealthCheckVersion
in the health check, Route 53 updates the health check with the new settings. -
If the value of
HealthCheckVersion
in the health check is greater, the health check was changed after you got the version number. Route 53 does not update the health check, and it returns aHealthCheckVersionMismatch
error.
Implementation
final int? healthCheckVersion;