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

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

Overview

Information about the state of the load balancer.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code ⇒ String

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 load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired. If the load balancer could not be set up, its state is failed.

Returns:

  • (String)


2819
2820
2821
2822
2823
2824
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2819

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

#reason ⇒ String

A description of the state.

Returns:

  • (String)


2819
2820
2821
2822
2823
2824
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2819

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