Skip to content

List the endpoint groups that are associated with a listener

Description

List the endpoint groups that are associated with a listener.

Usage

globalaccelerator_list_endpoint_groups(ListenerArn, MaxResults,
  NextToken)

Arguments

  • ListenerArn

    [required] The Amazon Resource Name (ARN) of the listener.

  • MaxResults

    The number of endpoint group objects that you want to return with this call. The default value is 10.

  • NextToken

    The token for the next set of results. You receive this token from a previous call.

Value

A list with the following syntax:

list(
  EndpointGroups = list(
    list(
      EndpointGroupArn = "string",
      EndpointGroupRegion = "string",
      EndpointDescriptions = list(
        list(
          EndpointId = "string",
          Weight = 123,
          HealthState = "INITIAL"|"HEALTHY"|"UNHEALTHY",
          HealthReason = "string",
          ClientIPPreservationEnabled = TRUE|FALSE
        )
      ),
      TrafficDialPercentage = 123.0,
      HealthCheckPort = 123,
      HealthCheckProtocol = "TCP"|"HTTP"|"HTTPS",
      HealthCheckPath = "string",
      HealthCheckIntervalSeconds = 123,
      ThresholdCount = 123,
      PortOverrides = list(
        list(
          ListenerPort = 123,
          EndpointPort = 123
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_endpoint_groups(
  ListenerArn = "string",
  MaxResults = 123,
  NextToken = "string"
)