AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::ElasticLoadBalancingV2::Types::LoadBalancerState

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Information about the state of the load balancer.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The state code. The initial state of the load balancer is provisioning. After the load balancer is fully set up and ready to route traffic, its state is active. If the load balancer could not be set up, its state is failed.

Possible values:

  • active
  • provisioning
  • active_impaired
  • failed

Returns:

  • (String)

    The state code.

#reasonString

A description of the state.

Returns:

  • (String)

    A description of the state.