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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb

Overview

Note:

When making an API call, you may pass GroupDefinition data as a hash:

{
  type: "DIMENSION", # accepts DIMENSION, TAG
  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)


1352
1353
1354
1355
1356
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1352

class GroupDefinition < Struct.new(
  :type,
  :key)
  include Aws::Structure
end

#typeString

The string that represents the type of group.

Returns:

  • (String)


1352
1353
1354
1355
1356
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1352

class GroupDefinition < Struct.new(
  :type,
  :key)
  include Aws::Structure
end