You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Lightsail::Types::DetachInstancesFromLoadBalancerRequest

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

Overview

Note:

When making an API call, you may pass DetachInstancesFromLoadBalancerRequest data as a hash:

{
  load_balancer_name: "ResourceName", # required
  instance_names: ["ResourceName"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_namesArray<String>

An array of strings containing the names of the instances you want to detach from the load balancer.

Returns:

  • (Array<String>)


1392
1393
1394
1395
1396
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1392

class DetachInstancesFromLoadBalancerRequest < Struct.new(
  :load_balancer_name,
  :instance_names)
  include Aws::Structure
end

#load_balancer_nameString

The name of the Lightsail load balancer.

Returns:

  • (String)


1392
1393
1394
1395
1396
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1392

class DetachInstancesFromLoadBalancerRequest < Struct.new(
  :load_balancer_name,
  :instance_names)
  include Aws::Structure
end