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.