

# GroupDefinition
<a name="API_bcmDashboards_GroupDefinition"></a>

Specifies how to group cost and usage data.

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

 ** key **   <a name="awscostmanagement-Type-bcmDashboards_GroupDefinition-key"></a>
The key to use for grouping cost and usage data.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Pattern: `[\S\s]*`   
Required: Yes

 ** type **   <a name="awscostmanagement-Type-bcmDashboards_GroupDefinition-type"></a>
The type of grouping to apply.  
Type: String  
Valid Values: `DIMENSION | TAG | COST_CATEGORY`   
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bcm-dashboards-2025-08-18/GroupDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bcm-dashboards-2025-08-18/GroupDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bcm-dashboards-2025-08-18/GroupDefinition) 