Configure Health Check
elb_configure_health_check | R Documentation |
Specifies the health check settings to use when evaluating the health state of your EC2 instances¶
Description¶
Specifies the health check settings to use when evaluating the health state of your EC2 instances.
For more information, see Configure Health Checks for Your Load Balancer in the Classic Load Balancers Guide.
Usage¶
Arguments¶
LoadBalancerName
[required] The name of the load balancer.
HealthCheck
[required] The configuration information.
Value¶
A list with the following syntax:
list(
HealthCheck = list(
Target = "string",
Interval = 123,
Timeout = 123,
UnhealthyThreshold = 123,
HealthyThreshold = 123
)
)
Request syntax¶
svc$configure_health_check(
LoadBalancerName = "string",
HealthCheck = list(
Target = "string",
Interval = 123,
Timeout = 123,
UnhealthyThreshold = 123,
HealthyThreshold = 123
)
)
Examples¶
## Not run:
# This example specifies the health check settings used to evaluate the
# health of your backend EC2 instances.
svc$configure_health_check(
HealthCheck = list(
HealthyThreshold = 2L,
Interval = 30L,
Target = "HTTP:80/png",
Timeout = 3L,
UnhealthyThreshold = 2L
),
LoadBalancerName = "my-load-balancer"
)
## End(Not run)