AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CostExplorer::Types::GroupDefinition

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GroupDefinition as input to an Aws::Client method, you can use a vanilla Hash:

{
  type: "DIMENSION", # accepts DIMENSION, TAG, COST_CATEGORY
  key: "GroupDefinitionKey",
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The string that represents a key for a specified group.

Returns:

  • (String)

    The string that represents a key for a specified group.

#typeString

The string that represents the type of group.

Possible values:

  • DIMENSION
  • TAG
  • COST_CATEGORY

Returns:

  • (String)

    The string that represents the type of group.