Class CfnBudget.SpendProperty
The amount of cost or usage that's measured for a budget.
Inheritance
System.Object
CfnBudget.SpendProperty
Implements
Namespace: Amazon.CDK.AWS.Budgets
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SpendProperty : Object, CfnBudget.ISpendProperty
Syntax (vb)
Public Class SpendProperty
Inherits Object
Implements CfnBudget.ISpendProperty
Remarks
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:
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Budgets;
var spendProperty = new SpendProperty {
Amount = 123,
Unit = "unit"
};
Synopsis
Constructors
SpendProperty() |
Properties
Amount | The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. |
Unit | The unit of measurement that's used for the budget forecast, actual spend, or budget threshold. |
Constructors
SpendProperty()
public SpendProperty()
Properties
Amount
The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.
public double Amount { get; set; }
Property Value
System.Double
Remarks
Unit
The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.
public string Unit { get; set; }
Property Value
System.String