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

Description Usage Arguments Value Request syntax Examples

View source: R/autoscaling_operations.R

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

1
2
autoscaling_describe_load_balancers(AutoScalingGroupName, NextToken,
  MaxRecords)

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.

Value

A list with the following syntax:

1
2
3
4
5
6
7
8
9
list(
  LoadBalancers = list(
    list(
      LoadBalancerName = "string",
      State = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

1
2
3
4
5
svc$describe_load_balancers(
  AutoScalingGroupName = "string",
  NextToken = "string",
  MaxRecords = 123
)

Examples

1
2
3
4
5
6
7
8
## Not run: 
# This example describes the load balancers attached to the specified Auto
# Scaling group.
svc$describe_load_balancers(
  AutoScalingGroupName = "my-auto-scaling-group"
)

## End(Not run)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.