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.

For 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();
 
  • Method Details