budgets

package
v0.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

func (r *Budget) CostFilters() *pulumi.MapOutput

Map of CostFilters key/value pairs to apply to the budget.

func (*Budget) CostTypes

func (r *Budget) CostTypes() *pulumi.Output

Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions..

func (*Budget) ID

func (r *Budget) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

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`.

func (*Budget) URN

func (r *Budget) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

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 key/value pairs to apply to the budget.
	CostFilters interface{}
	// Object containing 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 key/value pairs to apply to the budget.
	CostFilters interface{}
	// Object containing 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL