AWSElasticLoadBalancingLoadBalancerState

Objective-C

@interface AWSElasticLoadBalancingLoadBalancerState

Swift

class AWSElasticLoadBalancingLoadBalancerState

Information about the state of the load balancer.

  • 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSElasticLoadBalancingLoadBalancerStateEnum code;

    Swift

    var code: AWSElasticLoadBalancingLoadBalancerStateEnum { get set }
  • A description of the state.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable reason;

    Swift

    var reason: String? { get set }