Class: Aws::AutoScaling::Types::LoadBalancerState

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

Overview

Describes the state of a Classic Load Balancer.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


5031
5032
5033
5034
5035
5036
# File 'lib/aws-sdk-autoscaling/types.rb', line 5031

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

#stateString

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.

Returns:

  • (String)


5031
5032
5033
5034
5035
5036
# File 'lib/aws-sdk-autoscaling/types.rb', line 5031

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