

# GroupDefinition


Represents a group when you specify a group by criteria or in the response to a query with a specific grouping.

## Contents


 ** Key **   <a name="awscostmanagement-Type-GroupDefinition-Key"></a>
The string that represents a key for a specified group.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1024.  
Pattern: `[\S\s]*`   
Required: No

 ** Type **   <a name="awscostmanagement-Type-GroupDefinition-Type"></a>
The string that represents the type of group.  
Type: String  
Valid Values: `DIMENSION | TAG | COST_CATEGORY`   
Required: No

## See Also


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/ce-2017-10-25/GroupDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ce-2017-10-25/GroupDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ce-2017-10-25/GroupDefinition) 