Menu
AWS CloudFormation
API Reference (API Version 2010-05-15)

DescribeAccountLimits

Retrieves your account's AWS CloudFormation limits, such as the maximum number of stacks that you can create in your account.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

NextToken

A string that identifies the next page of limits that you want to retrieve.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

Response Elements

The following elements are returned by the service.

AccountLimits.member.N

An account limit structure that contain a list of AWS CloudFormation account limits and their values.

Type: Array of AccountLimit objects

NextToken

If the output exceeds 1 MB in size, a string that identifies the next page of limits. If no additional page exists, this value is null.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Errors

For information about the errors that are common to all actions, see Common Errors.

Example

DescribeAccountLimits

Sample Request

Copy
https://cloudformation.us-east-1.amazonaws.com/ ?Action=DescribeAccountLimits &NextToken=[NextToken] &Version=2010-05-15 &SignatureVersion=2 &Timestamp=2010-07-27T22%3A26%3A28.000Z &AWSAccessKeyId=[AWS Access KeyID] &Signature=[Signature]

Sample Response

Copy
<DescribeAccountLimitsResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/"> <DescribeAccountLimitsResult> <AccountLimits> <member> <Name>StackLimit</Name> <Value>20</Value> </member> </AccountLimits> </DescribeAccountLimitsResult> <ResponseMetadata> <RequestId>b9b4b068-3a41-11e5-94eb-example</RequestId> </ResponseMetadata> </DescribeAccountLimitsResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: