BudgetArgs class
The set of arguments for Budget. The set of arguments for Budget.
Constructors
-
BudgetArgs({Input<
String?> ? accountId, Input<BudgetAutoAdjustData?> ? autoAdjustData, Input<String?> ? billingViewArn, required Input<String> budgetType, Input<List< ? costFilters, Input<BudgetCostFilter> ?>BudgetCostTypes?> ? costTypes, Input<BudgetFilterExpression?> ? filterExpression, Input<String?> ? limitAmount, Input<String?> ? limitUnit, Input<String?> ? metrics, Input<String?> ? name, Input<String?> ? namePrefix, Input<List< ? notifications, Input<BudgetNotification> ?>List< ? plannedLimits, Input<BudgetPlannedLimit> ?>Map< ? tags, Input<String, String> ?>String?> ? timePeriodEnd, Input<String?> ? timePeriodStart, required Input<String> timeUnit}) -
Creates a new BudgetArgs.
accountIdThe ID of the target account for budget. Will use current user's accountId by default if omitted.autoAdjustDataObject containing AutoAdjustData which determines the budget amount for an auto-adjusting budget.billingViewArnARN of the billing view.budgetTypeWhether this budget tracks monetary cost or usage.costFiltersA list of CostFilter name/values pair to apply to budget. Conflicts withfilterExpression.costTypesObject containing CostTypes The types of cost included in a budget, such as tax and subscriptions.filterExpressionObject containing Filter Expression to apply to budget. Conflicts withcostFilterand requiresmetrics.limitAmountThe amount of cost or usage being measured for a budget.limitUnitThe unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB. See Spend documentation.metricsList containing definition for how the budget data is aggregated. Conflicts withcostTypesand requiresfilterExpression.nameThe name of a budget. Unique within accounts.namePrefixThe prefix of the name of a budget. Unique within accounts.notificationsObject containing Budget Notifications. Can be used multiple times to define more than one budget notification.plannedLimitsObject containing Planned Budget Limits. Can be used multiple times to plan more than one budget limit. See PlannedBudgetLimits documentation.tagsMap of tags assigned to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.timePeriodEndThe end of the time period covered by the budget. There are no restrictions on the end date. Format:2017-01-01_12:00.timePeriodStartThe 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.timeUnitThe length of time until a budget resets the actual and forecasted spend. Valid values:MONTHLY,QUARTERLY,ANNUALLY, andDAILY.const -
BudgetArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accountId
→ Input<
String?> ? -
The ID of the target account for budget. Will use current user's accountId by default if omitted.
final
-
autoAdjustData
→ Input<
BudgetAutoAdjustData?> ? -
Object containing AutoAdjustData which determines the budget amount for an auto-adjusting budget.
final
-
billingViewArn
→ Input<
String?> ? -
ARN of the billing view.
final
-
budgetType
→ Input<
String> -
Whether this budget tracks monetary cost or usage.
final
-
costFilters
→ Input<
List< ?BudgetCostFilter> ?> -
A list of CostFilter name/values pair to apply to budget. Conflicts with
filterExpression.final -
costTypes
→ Input<
BudgetCostTypes?> ? -
Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions.
final
-
filterExpression
→ Input<
BudgetFilterExpression?> ? -
Object containing Filter Expression to apply to budget. Conflicts with
costFilterand requiresmetrics.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
limitAmount
→ Input<
String?> ? -
The amount of cost or usage being measured for a budget.
final
-
limitUnit
→ Input<
String?> ? -
The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB. See Spend documentation.
final
-
metrics
→ Input<
String?> ? -
List containing definition for how the budget data is aggregated. Conflicts with
costTypesand requiresfilterExpression.final -
name
→ Input<
String?> ? -
The name of a budget. Unique within accounts.
final
-
namePrefix
→ Input<
String?> ? -
The prefix of the name of a budget. Unique within accounts.
final
-
notifications
→ Input<
List< ?BudgetNotification> ?> -
Object containing Budget Notifications. Can be used multiple times to define more than one budget notification.
final
-
plannedLimits
→ Input<
List< ?BudgetPlannedLimit> ?> -
Object containing Planned Budget Limits. Can be used multiple times to plan more than one budget limit. See PlannedBudgetLimits documentation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
timePeriodEnd
→ Input<
String?> ? -
The end of the time period covered by the budget. There are no restrictions on the end date. Format:
2017-01-01_12:00.final -
timePeriodStart
→ Input<
String?> ? -
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.final -
timeUnit
→ Input<
String> -
The length of time until a budget resets the actual and forecasted spend. Valid values:
MONTHLY,QUARTERLY,ANNUALLY, andDAILY.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited