SortDefinition - AWS Billing and Cost Management
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: January 7, 2026.

SortDefinition

The details for how to sort the data.

Contents

Key

The key that's used to sort the data.

Type: String

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

Pattern: [\S\s]*

Required: Yes

SortOrder

The order that's used to sort the data.

Type: String

Valid Values: ASCENDING | DESCENDING

Required: No

See Also

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