There are more AWS SDK examples available in the AWS Doc SDK Examples
Use DescribeAccountLimits
with a CLI
The following code examples show how to use DescribeAccountLimits
.
- CLI
-
- AWS CLI
-
To describe your Amazon EC2 Auto Scaling account limits
This example describes the Amazon EC2 Auto Scaling limits for your AWS account.
aws autoscaling describe-account-limits
Output:
{ "NumberOfLaunchConfigurations": 5, "MaxNumberOfLaunchConfigurations": 100, "NumberOfAutoScalingGroups": 3, "MaxNumberOfAutoScalingGroups": 20 }
For more information, see Amazon EC2 Auto Scaling service quotas in the Amazon EC2 Auto Scaling User Guide.
-
For API details, see DescribeAccountLimits
in AWS CLI Command Reference.
-
- PowerShell
-
- Tools for PowerShell
-
Example 1: This example describes the Auto Scaling resource limits for your AWS account.
Get-ASAccountLimit
Output:
MaxNumberOfAutoScalingGroups : 20 MaxNumberOfLaunchConfigurations : 100
-
For API details, see DescribeAccountLimits in AWS Tools for PowerShell Cmdlet Reference.
-