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)


1261
1262
1263
1264
1265
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1261

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

#reasonString

A description of the state.

Returns:

  • (String)


1261
1262
1263
1264
1265
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1261

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