Skip to content

/AWS1/CL_LSA=>DETACHINSTSFROMLOADBALANCER()

About DetachInstancesFromLoadBalancer

Detaches the specified instances from a Lightsail load balancer.

This operation waits until the instances are no longer needed before they are detached from the load balancer.

The detach instances from load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

Method Signature

IMPORTING

Required arguments:

IV_LOADBALANCERNAME TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME

The name of the Lightsail load balancer.

IT_INSTANCENAMES TYPE /AWS1/CL_LSARESOURCENAMELIST_W=>TT_RESOURCENAMELIST TT_RESOURCENAMELIST

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LSADETACHINSTSFRMLO01 /AWS1/CL_LSADETACHINSTSFRMLO01