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

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.

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.

Returns:

  • (String)


1460
1461
1462
1463
1464
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1460

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

#reasonString

A description of the state.

Returns:

  • (String)


1460
1461
1462
1463
1464
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1460

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