Interface CfnBudget.ISpendProperty
The amount of cost or usage that's measured for a budget.
Namespace: Amazon.CDK.AWS.Budgets
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnBudget.ISpendProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Amount
The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.
double Amount { get; }
Property Value
Remarks
Unit
The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.
string Unit { get; }