Update Health Check
route53_update_health_check | R Documentation |
Updates an existing health check¶
Description¶
Updates an existing health check. Note that some values can't be updated.
For more information about updating health checks, see Creating, Updating, and Deleting Health Checks in the Amazon Route 53 Developer Guide.
Usage¶
route53_update_health_check(HealthCheckId, HealthCheckVersion,
IPAddress, Port, ResourcePath, FullyQualifiedDomainName, SearchString,
FailureThreshold, Inverted, Disabled, HealthThreshold,
ChildHealthChecks, EnableSNI, Regions, AlarmIdentifier,
InsufficientDataHealthStatus, ResetElements)
Arguments¶
HealthCheckId |
[required] The ID for the health check for which you want
detailed information. When you created the health check,
|
HealthCheckVersion |
A sequential counter that Amazon Route 53 sets to We recommend that you use
|
IPAddress |
The IPv4 or IPv6 IP address for the endpoint that you want Amazon
Route 53 to perform health checks on. If you don't specify a value for
Use one of the following formats for the value of
If the endpoint is an EC2 instance, we recommend that you create an
Elastic IP address, associate it with your EC2 instance, and specify the
Elastic IP address for
If a health check already has a value for For more information, see FullyQualifiedDomainName. Constraints: Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you can't create health checks, see the following documents: |
Port |
The port on the endpoint that you want Amazon Route 53 to perform health checks on. Don't specify a value for |
ResourcePath |
The path that you want Amazon Route 53 to request when performing
health checks. The path can be any value for which your endpoint will
return an HTTP status code of 2xx or 3xx when the endpoint is healthy,
for example the file /docs/route53-health-check.html. You can also
include query string parameters, for example, Specify this value only if you want to change it. |
FullyQualifiedDomainName |
Amazon Route 53 behavior depends on whether you specify a value
for If a health check already has a value for If you specify a value for
Route 53 sends health check requests to the specified IPv4 or IPv6
address and passes the value of When Route 53 checks the health of an endpoint, here is how it
constructs the
If you don't specify a value for
If you don't specify a value for
If you don't specify a value for If you don't specify a value for If you don't specify a value for If you want to check the health of weighted, latency, or failover
resource record sets and you choose to specify the endpoint only by
In this configuration, if the value of
In addition, if the value of |
SearchString |
If the value of |
FailureThreshold |
The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide. If you don't specify a value for |
Inverted |
Specify whether you want Amazon Route 53 to invert the status of a health check, for example, to consider a health check unhealthy when it otherwise would be considered healthy. |
Disabled |
Stops Route 53 from performing health checks. When you disable a health check, here's what happens:
After you disable a health check, Route 53 considers the status of the health check to always be healthy. If you configured DNS failover, Route 53 continues to route traffic to the corresponding resources. If you want to stop routing traffic to a resource, change the value of Inverted. Charges for a health check still apply when the health check is disabled. For more information, see Amazon Route 53 Pricing. |
HealthThreshold |
The number of child health checks that are associated with a
Note the following:
|
ChildHealthChecks |
A complex type that contains one |
EnableSNI |
Specify whether you want Amazon Route 53 to send the value of
Some endpoints require that HTTPS requests include the host name in
the The SSL/TLS certificate on your endpoint includes a domain name in
the |
Regions |
A complex type that contains one |
AlarmIdentifier |
A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether the specified health check is healthy. |
InsufficientDataHealthStatus |
When CloudWatch has insufficient data about the metric to determine the alarm state, the status that you want Amazon Route 53 to assign to the health check:
|
ResetElements |
A complex type that contains one
|
Value¶
A list with the following syntax:
list(
HealthCheck = list(
Id = "string",
CallerReference = "string",
LinkedService = list(
ServicePrincipal = "string",
Description = "string"
),
HealthCheckConfig = list(
IPAddress = "string",
Port = 123,
Type = "HTTP"|"HTTPS"|"HTTP_STR_MATCH"|"HTTPS_STR_MATCH"|"TCP"|"CALCULATED"|"CLOUDWATCH_METRIC"|"RECOVERY_CONTROL",
ResourcePath = "string",
FullyQualifiedDomainName = "string",
SearchString = "string",
RequestInterval = 123,
FailureThreshold = 123,
MeasureLatency = TRUE|FALSE,
Inverted = TRUE|FALSE,
Disabled = TRUE|FALSE,
HealthThreshold = 123,
ChildHealthChecks = list(
"string"
),
EnableSNI = TRUE|FALSE,
Regions = list(
"us-east-1"|"us-west-1"|"us-west-2"|"eu-west-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"sa-east-1"
),
AlarmIdentifier = list(
Region = "us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"ca-central-1"|"eu-central-1"|"eu-central-2"|"eu-west-1"|"eu-west-2"|"eu-west-3"|"ap-east-1"|"me-south-1"|"me-central-1"|"ap-south-1"|"ap-south-2"|"ap-southeast-1"|"ap-southeast-2"|"ap-southeast-3"|"ap-northeast-1"|"ap-northeast-2"|"ap-northeast-3"|"eu-north-1"|"sa-east-1"|"cn-northwest-1"|"cn-north-1"|"af-south-1"|"eu-south-1"|"eu-south-2"|"us-gov-west-1"|"us-gov-east-1"|"us-iso-east-1"|"us-iso-west-1"|"us-isob-east-1"|"ap-southeast-4"|"il-central-1"|"ca-west-1"|"ap-southeast-5"|"mx-central-1"|"ap-southeast-7",
Name = "string"
),
InsufficientDataHealthStatus = "Healthy"|"Unhealthy"|"LastKnownStatus",
RoutingControlArn = "string"
),
HealthCheckVersion = 123,
CloudWatchAlarmConfiguration = list(
EvaluationPeriods = 123,
Threshold = 123.0,
ComparisonOperator = "GreaterThanOrEqualToThreshold"|"GreaterThanThreshold"|"LessThanThreshold"|"LessThanOrEqualToThreshold",
Period = 123,
MetricName = "string",
Namespace = "string",
Statistic = "Average"|"Sum"|"SampleCount"|"Maximum"|"Minimum",
Dimensions = list(
list(
Name = "string",
Value = "string"
)
)
)
)
)
Request syntax¶
svc$update_health_check(
HealthCheckId = "string",
HealthCheckVersion = 123,
IPAddress = "string",
Port = 123,
ResourcePath = "string",
FullyQualifiedDomainName = "string",
SearchString = "string",
FailureThreshold = 123,
Inverted = TRUE|FALSE,
Disabled = TRUE|FALSE,
HealthThreshold = 123,
ChildHealthChecks = list(
"string"
),
EnableSNI = TRUE|FALSE,
Regions = list(
"us-east-1"|"us-west-1"|"us-west-2"|"eu-west-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"sa-east-1"
),
AlarmIdentifier = list(
Region = "us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"ca-central-1"|"eu-central-1"|"eu-central-2"|"eu-west-1"|"eu-west-2"|"eu-west-3"|"ap-east-1"|"me-south-1"|"me-central-1"|"ap-south-1"|"ap-south-2"|"ap-southeast-1"|"ap-southeast-2"|"ap-southeast-3"|"ap-northeast-1"|"ap-northeast-2"|"ap-northeast-3"|"eu-north-1"|"sa-east-1"|"cn-northwest-1"|"cn-north-1"|"af-south-1"|"eu-south-1"|"eu-south-2"|"us-gov-west-1"|"us-gov-east-1"|"us-iso-east-1"|"us-iso-west-1"|"us-isob-east-1"|"ap-southeast-4"|"il-central-1"|"ca-west-1"|"ap-southeast-5"|"mx-central-1"|"ap-southeast-7",
Name = "string"
),
InsufficientDataHealthStatus = "Healthy"|"Unhealthy"|"LastKnownStatus",
ResetElements = list(
"FullyQualifiedDomainName"|"Regions"|"ResourcePath"|"ChildHealthChecks"
)
)