paws.networking (version 0.1.6)

elb_deregister_instances_from_load_balancer: Deregisters the specified instances from the specified load balancer

Description

Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer.

Usage

elb_deregister_instances_from_load_balancer(LoadBalancerName, Instances)

Arguments

LoadBalancerName

[required] The name of the load balancer.

Instances

[required] The IDs of the instances.

Request syntax

svc$deregister_instances_from_load_balancer(
  LoadBalancerName = "string",
  Instances = list(
    list(
      InstanceId = "string"
    )
  )
)

Details

You can use DescribeLoadBalancers to verify that the instance is deregistered from the load balancer.

For more information, see Register or De-Register EC2 Instances in the Classic Load Balancers Guide.

Examples

Run this code
# NOT RUN {
# This example deregisters the specified instance from the specified load
# balancer.
# }
# NOT RUN {
svc$deregister_instances_from_load_balancer(
  Instances = list(
    list(
      InstanceId = "i-d6f6fae3"
    )
  ),
  LoadBalancerName = "my-load-balancer"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab