Class: Aws::Budgets::Types::GroupDefinition

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

Overview

How to group the spend of a budget. A group definition has the same shape as the group definition of the Cost Explorer GetCostAndUsage operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key ⇒ String

The key to group by. The key must be the same value as the budget's SpendAttributions. Valid values are IDENTITY_CENTER_USER and IAM_PRINCIPAL.

Returns:

  • (String)


1875
1876
1877
1878
1879
1880
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1875

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

#type ⇒ String

The type of the group. The only valid value is DIMENSION.

Returns:

  • (String)


1875
1876
1877
1878
1879
1880
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1875

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