Documentation ¶
Index ¶
- type Budget
- func (r *Budget) AccountId() *pulumi.StringOutput
- func (r *Budget) BudgetType() *pulumi.StringOutput
- func (r *Budget) CostFilters() *pulumi.MapOutput
- func (r *Budget) CostTypes() *pulumi.Output
- func (r *Budget) ID() *pulumi.IDOutput
- func (r *Budget) LimitAmount() *pulumi.StringOutput
- func (r *Budget) LimitUnit() *pulumi.StringOutput
- func (r *Budget) Name() *pulumi.StringOutput
- func (r *Budget) NamePrefix() *pulumi.StringOutput
- func (r *Budget) TimePeriodEnd() *pulumi.StringOutput
- func (r *Budget) TimePeriodStart() *pulumi.StringOutput
- func (r *Budget) TimeUnit() *pulumi.StringOutput
- func (r *Budget) URN() *pulumi.URNOutput
- type BudgetArgs
- type BudgetState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Budget ¶
type Budget struct {
// contains filtered or unexported fields
}
Provides a budgets budget resource. Budgets use the cost visualisation provided by Cost Explorer to show you the status of your budgets, to provide forecasts of your estimated costs, and to track your AWS usage, including your free tier usage.
func GetBudget ¶
func GetBudget(ctx *pulumi.Context, name string, id pulumi.ID, state *BudgetState, opts ...pulumi.ResourceOpt) (*Budget, error)
GetBudget gets an existing Budget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBudget ¶
func NewBudget(ctx *pulumi.Context, name string, args *BudgetArgs, opts ...pulumi.ResourceOpt) (*Budget, error)
NewBudget registers a new resource with the given unique name, arguments, and options.
func (*Budget) AccountId ¶
func (r *Budget) AccountId() *pulumi.StringOutput
The ID of the target account for budget. Will use current user's account_id by default if omitted.
func (*Budget) BudgetType ¶
func (r *Budget) BudgetType() *pulumi.StringOutput
Whether this budget tracks monetary cost or usage.
func (*Budget) CostFilters ¶
Map of [CostFilters](#CostFilters) key/value pairs to apply to the budget.
func (*Budget) CostTypes ¶
Object containing [CostTypes](#CostTypes) The types of cost included in a budget, such as tax and subscriptions..
func (*Budget) LimitAmount ¶
func (r *Budget) LimitAmount() *pulumi.StringOutput
The amount of cost or usage being measured for a budget.
func (*Budget) LimitUnit ¶
func (r *Budget) LimitUnit() *pulumi.StringOutput
The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB. See [Spend ](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/data-type-spend.html) documentation.
func (*Budget) Name ¶
func (r *Budget) Name() *pulumi.StringOutput
The name of a budget. Unique within accounts.
func (*Budget) NamePrefix ¶
func (r *Budget) NamePrefix() *pulumi.StringOutput
The prefix of the name of a budget. Unique within accounts.
func (*Budget) TimePeriodEnd ¶
func (r *Budget) TimePeriodEnd() *pulumi.StringOutput
The end of the time period covered by the budget. There are no restrictions on the end date. Format: `2017-01-01_12:00`.
func (*Budget) TimePeriodStart ¶
func (r *Budget) TimePeriodStart() *pulumi.StringOutput
The start of the time period covered by the budget. The start date must come before the end date. Format: `2017-01-01_12:00`.
func (*Budget) TimeUnit ¶
func (r *Budget) TimeUnit() *pulumi.StringOutput
The length of time until a budget resets the actual and forecasted spend. Valid values: `MONTHLY`, `QUARTERLY`, `ANNUALLY`.
type BudgetArgs ¶
type BudgetArgs struct { // The ID of the target account for budget. Will use current user's account_id by default if omitted. AccountId interface{} // Whether this budget tracks monetary cost or usage. BudgetType interface{} // Map of [CostFilters](#CostFilters) key/value pairs to apply to the budget. CostFilters interface{} // Object containing [CostTypes](#CostTypes) The types of cost included in a budget, such as tax and subscriptions.. CostTypes interface{} // The amount of cost or usage being measured for a budget. LimitAmount interface{} // The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB. See [Spend ](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/data-type-spend.html) documentation. LimitUnit interface{} // The name of a budget. Unique within accounts. Name interface{} // The prefix of the name of a budget. Unique within accounts. NamePrefix interface{} // The end of the time period covered by the budget. There are no restrictions on the end date. Format: `2017-01-01_12:00`. TimePeriodEnd interface{} // The start of the time period covered by the budget. The start date must come before the end date. Format: `2017-01-01_12:00`. TimePeriodStart interface{} // The length of time until a budget resets the actual and forecasted spend. Valid values: `MONTHLY`, `QUARTERLY`, `ANNUALLY`. TimeUnit interface{} }
The set of arguments for constructing a Budget resource.
type BudgetState ¶
type BudgetState struct { // The ID of the target account for budget. Will use current user's account_id by default if omitted. AccountId interface{} // Whether this budget tracks monetary cost or usage. BudgetType interface{} // Map of [CostFilters](#CostFilters) key/value pairs to apply to the budget. CostFilters interface{} // Object containing [CostTypes](#CostTypes) The types of cost included in a budget, such as tax and subscriptions.. CostTypes interface{} // The amount of cost or usage being measured for a budget. LimitAmount interface{} // The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB. See [Spend ](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/data-type-spend.html) documentation. LimitUnit interface{} // The name of a budget. Unique within accounts. Name interface{} // The prefix of the name of a budget. Unique within accounts. NamePrefix interface{} // The end of the time period covered by the budget. There are no restrictions on the end date. Format: `2017-01-01_12:00`. TimePeriodEnd interface{} // The start of the time period covered by the budget. The start date must come before the end date. Format: `2017-01-01_12:00`. TimePeriodStart interface{} // The length of time until a budget resets the actual and forecasted spend. Valid values: `MONTHLY`, `QUARTERLY`, `ANNUALLY`. TimeUnit interface{} }
Input properties used for looking up and filtering Budget resources.