Class: Aws::Lightsail::Types::AttachInstancesToLoadBalancerRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lightsail/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_namesArray<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).

Returns:

  • (Array<String>)


746
747
748
749
750
751
# File 'lib/aws-sdk-lightsail/types.rb', line 746

class AttachInstancesToLoadBalancerRequest < Struct.new(
  :load_balancer_name,
  :instance_names)
  SENSITIVE = []
  include Aws::Structure
end

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


746
747
748
749
750
751
# File 'lib/aws-sdk-lightsail/types.rb', line 746

class AttachInstancesToLoadBalancerRequest < Struct.new(
  :load_balancer_name,
  :instance_names)
  SENSITIVE = []
  include Aws::Structure
end