CmdID

CmdID / aws / aws apprunner

aws apprunner list-auto-scaling-configurations

Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To get a paginated listing of App Runner auto scaling configurations

The following list-auto-scaling-configurations example lists all App Runner auto scaling configurations in your AWS account. Up to five auto scaling configurations are listed in each response. AutoScalingConfigurationName and LatestOnly aren't specified. Their defaults cause the latest revision of all active configurations to be listed.

In this example, the response includes two results and there aren't additional ones, so no NextToken is returned.

aws apprunner list-auto-scaling-configurations --cli-input-json file://input.jsonIdentify

Contents of input.json:

{
    "MaxResults": 5
}
Its output
{
    "AutoScalingConfigurationSummaryList": [
        {
            "AutoScalingConfigurationArn": "arn:aws:apprunner:us-west-2:123456789012:autoscalingconfiguration/high-availability/2/e76562f50d78042e819fead0f59672e6",
            "AutoScalingConfigurationName": "high-availability",
            "AutoScalingConfigurationRevision": 2
        },
        {
            "AutoScalingConfigurationArn": "arn:aws:apprunner:us-west-2:123456789012:autoscalingconfiguration/low-cost/1/50d7804e7656fead0f59672e62f2e819",
            "AutoScalingConfigurationName": "low-cost",
            "AutoScalingConfigurationRevision": 1
        }
    ]
}

For more information, see Managing App Runner automatic scaling in the AWS App Runner Developer Guide.

Options

4 in the AWS CLI reference
--auto-scaling-configuration-nameThe name of the App Runner auto scaling configuration that you want to list.
--latest-onlySet to true to list only the latest revision for each requested configuration name.
--max-resultsThe maximum number of results to include in each response (result page).
--next-tokenA token from a previous result page.