Interface CfnBudget.SpendProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBudget.SpendProperty.Jsii$Proxy
Enclosing class:
CfnBudget

@Stability(Stable) public static interface CfnBudget.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 Amount of 3
  • A Unit of USD

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

  • An Amount of 3
  • A Unit of GB

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.budgets.*;
 SpendProperty spendProperty = SpendProperty.builder()
         .amount(123)
         .unit("unit")
         .build();
 

See Also: