

# CostGroup

A cost total for a single value of the groupBy dimension.

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

 ** cost **   <a name="appmonetization-Type-CostGroup-cost"></a>
The cost attributed to this group.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 32.  
Pattern: `-?[0-9]+(\.[0-9]+)?`   
Required: Yes

 ** key **   <a name="appmonetization-Type-CostGroup-key"></a>
The value of the groupBy dimension for this row.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: Yes

## See Also
<a name="API_CostGroup_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/appmonetization-2022-07-26/CostGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appmonetization-2022-07-26/CostGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appmonetization-2022-07-26/CostGroup) 