Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_ASC=>DESCRIBETRAFFICSOURCES()

About DescribeTrafficSources

Gets information about the traffic sources for the specified Auto Scaling group.

You can optionally provide a traffic source type. If you provide a traffic source type, then the results only include that traffic source type.

If you do not provide a traffic source type, then the results include all the traffic sources for the specified Auto Scaling group.

Method Signature

IMPORTING

Required arguments:

IV_AUTOSCALINGGROUPNAME TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

The name of the Auto Scaling group.

Optional arguments:

IV_TRAFFICSOURCETYPE TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

The traffic source type that you want to describe.

The following lists the valid values:

  • elb if the traffic source is a Classic Load Balancer.

  • elbv2 if the traffic source is a Application Load Balancer, Gateway Load Balancer, or Network Load Balancer.

  • vpc-lattice if the traffic source is VPC Lattice.

IV_NEXTTOKEN TYPE /AWS1/ASCXMLSTRING /AWS1/ASCXMLSTRING

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

IV_MAXRECORDS TYPE /AWS1/ASCMAXRECORDS /AWS1/ASCMAXRECORDS

The maximum number of items to return with this call. The maximum value is 50.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ASCDESCRTRAFSRCSRSP /AWS1/CL_ASCDESCRTRAFSRCSRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC