AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The amount of cost or usage that's measured for a budget.

Cost example: A Spend for 3 USD of costs has the following parameters:

Usage example: A Spend for 3 GB of S3 usage has the following parameters:

Inheritance Hierarchy

System.Object
  Amazon.Budgets.Model.Spend

Namespace: Amazon.Budgets.Model
Assembly: AWSSDK.Budgets.dll
Version: 3.x.y.z

Syntax

C#
public class Spend

The Spend type exposes the following members

Constructors

NameDescription
Public Method Spend()

Properties

NameTypeDescription
Public Property Amount System.Decimal

Gets and sets the property Amount.

The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.

Public Property Unit System.String

Gets and sets the property Unit.

The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5