Learn R Programming

paws.compute (version 0.7.0)

lightsail_attach_instances_to_load_balancer: Attaches one or more Lightsail instances to a load balancer

Description

Attaches one or more Lightsail instances to a load balancer.

See https://www.paws-r-sdk.com/docs/lightsail_attach_instances_to_load_balancer/ for full documentation.

Usage

lightsail_attach_instances_to_load_balancer(loadBalancerName, instanceNames)

Arguments

loadBalancerName

[required] The name of the load balancer.

instanceNames

[required] An array of strings representing the instance name(s) you want to attach to your load balancer.

An instance must be running before you can attach it to your load balancer.

There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).