You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lightsail::Types::AttachInstancesToLoadBalancerRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::AttachInstancesToLoadBalancerRequest
- Defined in:
- (unknown)
Overview
Note:
When passing AttachInstancesToLoadBalancerRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
load_balancer_name: "ResourceName", # required
instance_names: ["ResourceName"], # required
}
Instance Attribute Summary collapse
-
#instance_names ⇒ Array<String>
An array of strings representing the instance name(s) you want to attach to your load balancer.
-
#load_balancer_name ⇒ String
The name of the load balancer.
Instance Attribute Details
#instance_names ⇒ Array<String>
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).
#load_balancer_name ⇒ String
The name of the load balancer.