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

Class: Aws::AutoScaling::Types::LoadBalancerTargetGroupState

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

Overview

Describes the state of a target group.

If you attach a target group to an existing Auto Scaling group, the initial state is Adding. The state transitions to Added after all Auto Scaling instances are registered with the target group. If ELB health checks are enabled, the state transitions to InService after at least one Auto Scaling instance passes the health check. If EC2 health checks are enabled instead, the target group remains in the Added state.

Instance Attribute Summary collapse

Instance Attribute Details

#load_balancer_target_group_arnString

The Amazon Resource Name (ARN) of the target group.

Returns:

  • (String)


2811
2812
2813
2814
2815
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2811

class LoadBalancerTargetGroupState < Struct.new(
  :load_balancer_target_group_arn,
  :state)
  include Aws::Structure
end

#stateString

The state of the target group.

  • Adding - The Auto Scaling instances are being registered with the target group.

  • Added - All Auto Scaling instances are registered with the target group.

  • InService - At least one Auto Scaling instance passed an ELB health check.

  • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.

  • Removed - All Auto Scaling instances are deregistered from the target group.

Returns:

  • (String)


2811
2812
2813
2814
2815
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2811

class LoadBalancerTargetGroupState < Struct.new(
  :load_balancer_target_group_arn,
  :state)
  include Aws::Structure
end