Class: Aws::CostExplorer::Types::CostDriver

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

Overview

Represents factors that contribute to cost variations between the baseline and comparison time periods, including the type of driver, an identifier of the driver, and associated metrics.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metricsHash<String,Types::ComparisonMetricValue>

A mapping of metric names to their comparison values, measuring the impact of this cost driver.

Returns:



1202
1203
1204
1205
1206
1207
1208
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1202

class CostDriver < Struct.new(
  :type,
  :name,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The specific identifier of the cost driver.

Returns:

  • (String)


1202
1203
1204
1205
1206
1207
1208
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1202

class CostDriver < Struct.new(
  :type,
  :name,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The category or classification of the cost driver.

Values include: BUNDLED_DISCOUNT, CREDIT, OUT_OF_CYCLE_CHARGE, REFUND, RECURRING_RESERVATION_FEE, RESERVATION_USAGE, RI_VOLUME_DISCOUNT, SAVINGS_PLAN_USAGE, SAVINGS_PLAN_RECURRING_FEE, SUPPORT_FEE, TAX, UPFRONT_RESERVATION_FEE, USAGE_CHANGE, COMMITMENT

Returns:

  • (String)


1202
1203
1204
1205
1206
1207
1208
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1202

class CostDriver < Struct.new(
  :type,
  :name,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end