paws.networking (version 0.1.6)

elb_configure_health_check: 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.

Usage

elb_configure_health_check(LoadBalancerName, HealthCheck)

Arguments

LoadBalancerName

[required] The name of the load balancer.

HealthCheck

[required] The configuration information.

Request syntax

svc$configure_health_check(
  LoadBalancerName = "string",
  HealthCheck = list(
    Target = "string",
    Interval = 123,
    Timeout = 123,
    UnhealthyThreshold = 123,
    HealthyThreshold = 123
  )
)

Details

For more information, see Configure Health Checks for Your Load Balancer in the Classic Load Balancers Guide.

Examples

Run this code
# NOT RUN {
# This example specifies the health check settings used to evaluate the
# health of your backend EC2 instances.
# }
# NOT RUN {
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