Interface CfnBudgetPropsMixin.SpendProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBudgetPropsMixin.SpendProperty.Jsii$Proxy
- Enclosing class:
CfnBudgetPropsMixin
@Stability(Stable)
public static interface CfnBudgetPropsMixin.SpendProperty
extends software.amazon.jsii.JsiiSerializable
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:
- An
Amountof3 - A
UnitofUSD
Usage example: A Spend for 3 GB of S3 usage has the following parameters:
- An
Amountof3 - A
UnitofGB
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.budgets.*;
SpendProperty spendProperty = SpendProperty.builder()
.amount(123)
.unit("unit")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBudgetPropsMixin.SpendPropertystatic final classAn implementation forCfnBudgetPropsMixin.SpendProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAmount
The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.- See Also:
-
getUnit
The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.- See Also:
-
builder
-