Namespace Pulumi.Aws.Budgets
Classes
Budget
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.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var ec2 = new Aws.Budgets.Budget("ec2", new Aws.Budgets.BudgetArgs
{
BudgetType = "COST",
CostFilters =
{
{ "Service", "Amazon Elastic Compute Cloud - Compute" },
},
LimitAmount = "1200",
LimitUnit = "USD",
Notifications =
{
new Aws.Budgets.Inputs.BudgetNotificationArgs
{
ComparisonOperator = "GREATER_THAN",
NotificationType = "FORECASTED",
SubscriberEmailAddresses =
{
"test@example.com",
},
Threshold = 100,
ThresholdType = "PERCENTAGE",
},
},
TimePeriodEnd = "2087-06-15_00:00",
TimePeriodStart = "2017-07-01_00:00",
TimeUnit = "MONTHLY",
});
}
}