BudgetState constructor

const BudgetState({
  1. Input<String?>? accountId,
  2. Input<String?>? arn,
  3. Input<BudgetAutoAdjustData?>? autoAdjustData,
  4. Input<String?>? billingViewArn,
  5. Input<String?>? budgetType,
  6. Input<List<BudgetCostFilter>?>? costFilters,
  7. Input<BudgetCostTypes?>? costTypes,
  8. Input<BudgetFilterExpression?>? filterExpression,
  9. Input<String?>? limitAmount,
  10. Input<String?>? limitUnit,
  11. Input<String?>? metrics,
  12. Input<String?>? name,
  13. Input<String?>? namePrefix,
  14. Input<List<BudgetNotification>?>? notifications,
  15. Input<List<BudgetPlannedLimit>?>? plannedLimits,
  16. Input<Map<String, String>?>? tags,
  17. Input<Map<String, String>?>? tagsAll,
  18. Input<String?>? timePeriodEnd,
  19. Input<String?>? timePeriodStart,
  20. Input<String?>? timeUnit,
})

Creates a new BudgetState. accountId The ID of the target account for budget. Will use current user's accountId by default if omitted. arn The ARN of the budget. autoAdjustData Object containing AutoAdjustData which determines the budget amount for an auto-adjusting budget. billingViewArn ARN of the billing view. budgetType Whether this budget tracks monetary cost or usage. costFilters A list of CostFilter name/values pair to apply to budget. Conflicts with filterExpression. costTypes Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions. filterExpression Object containing Filter Expression to apply to budget. Conflicts with costFilter and requires metrics. limitAmount The amount of cost or usage being measured for a budget. limitUnit The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB. See Spend documentation. metrics List containing definition for how the budget data is aggregated. Conflicts with costTypes and requires filterExpression. name The name of a budget. Unique within accounts. namePrefix The prefix of the name of a budget. Unique within accounts. notifications Object containing Budget Notifications. Can be used multiple times to define more than one budget notification. plannedLimits Object containing Planned Budget Limits. Can be used multiple times to plan more than one budget limit. See PlannedBudgetLimits documentation. tags Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. timePeriodEnd The end of the time period covered by the budget. There are no restrictions on the end date. Format: 2017-01-01_12:00. timePeriodStart The start of the time period covered by the budget. If you don't specify a start date, AWS defaults to the start of your chosen time period. The start date must come before the end date. Format: 2017-01-01_12:00. timeUnit The length of time until a budget resets the actual and forecasted spend. Valid values: MONTHLY, QUARTERLY, ANNUALLY, and DAILY.

Implementation

const BudgetState({
  this.accountId,
  this.arn,
  this.autoAdjustData,
  this.billingViewArn,
  this.budgetType,
  this.costFilters,
  this.costTypes,
  this.filterExpression,
  this.limitAmount,
  this.limitUnit,
  this.metrics,
  this.name,
  this.namePrefix,
  this.notifications,
  this.plannedLimits,
  this.tags,
  this.tagsAll,
  this.timePeriodEnd,
  this.timePeriodStart,
  this.timeUnit,
});