AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DescribeLoadBalancerTargetGroupsOutput

import "github.com/aws/aws-sdk-go/service/autoscaling"

type DescribeLoadBalancerTargetGroupsOutput struct { LoadBalancerTargetGroups []*LoadBalancerTargetGroupState `type:"list"` NextToken *string `type:"string"` }

LoadBalancerTargetGroups

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 Elastic Load Balancing 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.

NextToken

Type: *string

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

Method

GoString

func (s DescribeLoadBalancerTargetGroupsOutput) GoString() string

GoString returns the string representation

SetLoadBalancerTargetGroups

func (s *DescribeLoadBalancerTargetGroupsOutput) SetLoadBalancerTargetGroups(v []*LoadBalancerTargetGroupState) *DescribeLoadBalancerTargetGroupsOutput

SetLoadBalancerTargetGroups sets the LoadBalancerTargetGroups field's value.

SetNextToken

func (s *DescribeLoadBalancerTargetGroupsOutput) SetNextToken(v string) *DescribeLoadBalancerTargetGroupsOutput

SetNextToken sets the NextToken field's value.

String

func (s DescribeLoadBalancerTargetGroupsOutput) String() string

String returns the string representation

On this page: