Skip to content

/AWS1/CL_ASCLOADBALANCERSTATE

Describes the state of a Classic Load Balancer.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_loadbalancername TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

The name of the load balancer.

iv_state TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

One of the following load balancer states:

  • Adding - The Auto Scaling instances are being registered with the load balancer.

  • Added - All Auto Scaling instances are registered with the load balancer.

  • InService - At least one Auto Scaling instance passed an ELB health check.

  • Removing - The Auto Scaling instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.

  • Removed - All Auto Scaling instances are deregistered from the load balancer.


Queryable Attributes

LoadBalancerName

The name of the load balancer.

Accessible with the following methods

Method Description
GET_LOADBALANCERNAME() Getter for LOADBALANCERNAME, with configurable default
ASK_LOADBALANCERNAME() Getter for LOADBALANCERNAME w/ exceptions if field has no va
HAS_LOADBALANCERNAME() Determine if LOADBALANCERNAME has a value

State

One of the following load balancer states:

  • Adding - The Auto Scaling instances are being registered with the load balancer.

  • Added - All Auto Scaling instances are registered with the load balancer.

  • InService - At least one Auto Scaling instance passed an ELB health check.

  • Removing - The Auto Scaling instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.

  • Removed - All Auto Scaling instances are deregistered from the load balancer.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_LOADBALANCERSTATES

TYPES TT_LOADBALANCERSTATES TYPE STANDARD TABLE OF REF TO /AWS1/CL_ASCLOADBALANCERSTATE WITH DEFAULT KEY
.