# 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"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab