Learn R Programming

paws.management (version 0.1.12)

autoscaling_describe_load_balancers: Describes the load balancers for the specified Auto Scaling group

Description

Describes the load balancers for the specified Auto Scaling group.

This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancers, use the describe_load_balancer_target_groups API instead.

Usage

autoscaling_describe_load_balancers(AutoScalingGroupName, NextToken,
  MaxRecords)

Value

A list with the following syntax:

list(
  LoadBalancers = list(
    list(
      LoadBalancerName = "string",
      State = "string"
    )
  ),
  NextToken = "string"
)

Arguments

AutoScalingGroupName

[required] The name of the Auto Scaling group.

NextToken

The token for the next set of items to return. (You received this token from a previous call.)

MaxRecords

The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.

Request syntax

svc$describe_load_balancers(
  AutoScalingGroupName = "string",
  NextToken = "string",
  MaxRecords = 123
)

Examples

Run this code
if (FALSE) {
# This example describes the load balancers attached to the specified Auto
# Scaling group.
svc$describe_load_balancers(
  AutoScalingGroupName = "my-auto-scaling-group"
)
}

Run the code above in your browser using DataLab