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

Class: Aws::Budgets::Types::Spend

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

Overview

Note:

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

{
  amount: "NumericValue", # required
  unit: "UnitValue", # required
}

A structure that represents either a cost spend or usage spend. Contains an amount and a unit.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#amountString

A string to represent NumericValue.

Returns:

  • (String)

    A string to represent NumericValue.

#unitString

A string to represent budget spend unit. It should be not null and not empty.

Returns:

  • (String)

    A string to represent budget spend unit.