

# SpendGroup

One row of a budget's spend for the current period. The row is the spend of one limit, or of one principal's share when you group by the budget's `SpendAttributions` key.

## Contents
<a name="API_budgets_SpendGroup_Contents"></a>

 ** Keys **   <a name="awscostmanagement-Type-budgets_SpendGroup-Keys"></a>
The values that identify the row, one for each entry in `GroupDefinitions`, in the same order. When you group by the budget's `SpendAttributions` key, the value is the ID of the principal. The list is empty for the total spend of a budget without `BudgetLimitDimensions`.  
Type: Array of strings  
Array Members: Minimum number of 0 items. Maximum number of 2 items.  
Length Constraints: Minimum length of 0. Maximum length of 2048.  
Required: No

 ** LastUsageTime **   <a name="awscostmanagement-Type-budgets_SpendGroup-LastUsageTime"></a>
The time of the most recent usage that counts toward the row. AWS Budgets doesn't return this field when the budget has no `BudgetLimitDimensions` or when the budget has no usage in the current period yet.  
Type: Timestamp  
Required: No

 ** LimitStatus **   <a name="awscostmanagement-Type-budgets_SpendGroup-LimitStatus"></a>
Specifies whether the spend has reached the budget limit that the row counts toward. That limit is the principal's own limit, or the limit of the whole budget.  
Type: String  
Valid Values: `WITHIN_LIMIT | LIMIT_REACHED`   
Required: No

 ** Spend **   <a name="awscostmanagement-Type-budgets_SpendGroup-Spend"></a>
The spend of the row in the current period.  
Type: [Spend](API_budgets_Spend.md) object  
Required: No

## See Also
<a name="API_budgets_SpendGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/budgets-2016-10-20/SpendGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/budgets-2016-10-20/SpendGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/budgets-2016-10-20/SpendGroup) 