aws.budgets.getBudget
Explore with Pulumi AI
Data source for managing an AWS Web Services Budgets Budget.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.budgets.getBudget({
name: testAwsBudgetsBudget.name,
});
import pulumi
import pulumi_aws as aws
test = aws.budgets.get_budget(name=test_aws_budgets_budget["name"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/budgets"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := budgets.LookupBudget(ctx, &budgets.LookupBudgetArgs{
Name: testAwsBudgetsBudget.Name,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = Aws.Budgets.GetBudget.Invoke(new()
{
Name = testAwsBudgetsBudget.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.budgets.BudgetsFunctions;
import com.pulumi.aws.budgets.inputs.GetBudgetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = BudgetsFunctions.getBudget(GetBudgetArgs.builder()
.name(testAwsBudgetsBudget.name())
.build());
}
}
variables:
test:
fn::invoke:
Function: aws:budgets:getBudget
Arguments:
name: ${testAwsBudgetsBudget.name}
Using getBudget
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBudget(args: GetBudgetArgs, opts?: InvokeOptions): Promise<GetBudgetResult>
function getBudgetOutput(args: GetBudgetOutputArgs, opts?: InvokeOptions): Output<GetBudgetResult>
def get_budget(account_id: Optional[str] = None,
name: Optional[str] = None,
name_prefix: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetBudgetResult
def get_budget_output(account_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
name_prefix: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBudgetResult]
func LookupBudget(ctx *Context, args *LookupBudgetArgs, opts ...InvokeOption) (*LookupBudgetResult, error)
func LookupBudgetOutput(ctx *Context, args *LookupBudgetOutputArgs, opts ...InvokeOption) LookupBudgetResultOutput
> Note: This function is named LookupBudget
in the Go SDK.
public static class GetBudget
{
public static Task<GetBudgetResult> InvokeAsync(GetBudgetArgs args, InvokeOptions? opts = null)
public static Output<GetBudgetResult> Invoke(GetBudgetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBudgetResult> getBudget(GetBudgetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:budgets/getBudget:getBudget
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
The name of a budget. Unique within accounts.
The following arguments are optional:
- Account
Id string - The ID of the target account for budget. Will use current user's account_id by default if omitted.
- Name
Prefix string - The prefix of the name of a budget. Unique within accounts.
- Dictionary<string, string>
- Map of tags assigned to the resource.
- Name string
The name of a budget. Unique within accounts.
The following arguments are optional:
- Account
Id string - The ID of the target account for budget. Will use current user's account_id by default if omitted.
- Name
Prefix string - The prefix of the name of a budget. Unique within accounts.
- map[string]string
- Map of tags assigned to the resource.
- name String
The name of a budget. Unique within accounts.
The following arguments are optional:
- account
Id String - The ID of the target account for budget. Will use current user's account_id by default if omitted.
- name
Prefix String - The prefix of the name of a budget. Unique within accounts.
- Map<String,String>
- Map of tags assigned to the resource.
- name string
The name of a budget. Unique within accounts.
The following arguments are optional:
- account
Id string - The ID of the target account for budget. Will use current user's account_id by default if omitted.
- name
Prefix string - The prefix of the name of a budget. Unique within accounts.
- {[key: string]: string}
- Map of tags assigned to the resource.
- name str
The name of a budget. Unique within accounts.
The following arguments are optional:
- account_
id str - The ID of the target account for budget. Will use current user's account_id by default if omitted.
- name_
prefix str - The prefix of the name of a budget. Unique within accounts.
- Mapping[str, str]
- Map of tags assigned to the resource.
- name String
The name of a budget. Unique within accounts.
The following arguments are optional:
- account
Id String - The ID of the target account for budget. Will use current user's account_id by default if omitted.
- name
Prefix String - The prefix of the name of a budget. Unique within accounts.
- Map<String>
- Map of tags assigned to the resource.
getBudget Result
The following output properties are available:
- Account
Id string - Arn string
- Auto
Adjust List<GetDatas Budget Auto Adjust Data> - Object containing [AutoAdjustData] which determines the budget amount for an auto-adjusting budget.
- Budget
Exceeded bool - Boolean indicating whether this budget has been exceeded.
- Budget
Limits List<GetBudget Budget Limit> - The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget. Contains object Spend.
- Budget
Type string - Whether this budget tracks monetary cost or usage.
- Calculated
Spends List<GetBudget Calculated Spend> - The spend objects that are associated with this budget. The actualSpend tracks how much you've used, cost, usage, RI units, or Savings Plans units and the forecastedSpend tracks how much that you're predicted to spend based on your historical usage profile.
- Cost
Filters List<GetBudget Cost Filter> - A list of CostFilter name/values pair to apply to budget.
- Cost
Types List<GetBudget Cost Type> - Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Notifications
List<Get
Budget Notification> - Object containing Budget Notifications. Can be used multiple times to define more than one budget notification.
- Planned
Limits List<GetBudget Planned Limit> - Object containing Planned Budget Limits. Can be used multiple times to plan more than one budget limit. See PlannedBudgetLimits documentation.
- Dictionary<string, string>
- Map of tags assigned to the resource.
- Time
Period stringEnd - The end of the time period covered by the budget. There are no restrictions on the end date. Format:
2017-01-01_12:00
. - Time
Period stringStart - 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
. - Time
Unit string - The length of time until a budget resets the actual and forecasted spend. Valid values:
MONTHLY
,QUARTERLY
,ANNUALLY
, andDAILY
. - Name
Prefix string
- Account
Id string - Arn string
- Auto
Adjust []GetDatas Budget Auto Adjust Data - Object containing [AutoAdjustData] which determines the budget amount for an auto-adjusting budget.
- Budget
Exceeded bool - Boolean indicating whether this budget has been exceeded.
- Budget
Limits []GetBudget Budget Limit - The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget. Contains object Spend.
- Budget
Type string - Whether this budget tracks monetary cost or usage.
- Calculated
Spends []GetBudget Calculated Spend - The spend objects that are associated with this budget. The actualSpend tracks how much you've used, cost, usage, RI units, or Savings Plans units and the forecastedSpend tracks how much that you're predicted to spend based on your historical usage profile.
- Cost
Filters []GetBudget Cost Filter - A list of CostFilter name/values pair to apply to budget.
- Cost
Types []GetBudget Cost Type - Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Notifications
[]Get
Budget Notification - Object containing Budget Notifications. Can be used multiple times to define more than one budget notification.
- Planned
Limits []GetBudget Planned Limit - Object containing Planned Budget Limits. Can be used multiple times to plan more than one budget limit. See PlannedBudgetLimits documentation.
- map[string]string
- Map of tags assigned to the resource.
- Time
Period stringEnd - The end of the time period covered by the budget. There are no restrictions on the end date. Format:
2017-01-01_12:00
. - Time
Period stringStart - 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
. - Time
Unit string - The length of time until a budget resets the actual and forecasted spend. Valid values:
MONTHLY
,QUARTERLY
,ANNUALLY
, andDAILY
. - Name
Prefix string
- account
Id String - arn String
- auto
Adjust List<GetDatas Budget Auto Adjust Data> - Object containing [AutoAdjustData] which determines the budget amount for an auto-adjusting budget.
- budget
Exceeded Boolean - Boolean indicating whether this budget has been exceeded.
- budget
Limits List<GetBudget Budget Limit> - The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget. Contains object Spend.
- budget
Type String - Whether this budget tracks monetary cost or usage.
- calculated
Spends List<GetBudget Calculated Spend> - The spend objects that are associated with this budget. The actualSpend tracks how much you've used, cost, usage, RI units, or Savings Plans units and the forecastedSpend tracks how much that you're predicted to spend based on your historical usage profile.
- cost
Filters List<GetBudget Cost Filter> - A list of CostFilter name/values pair to apply to budget.
- cost
Types List<GetBudget Cost Type> - Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- notifications
List<Get
Budget Notification> - Object containing Budget Notifications. Can be used multiple times to define more than one budget notification.
- planned
Limits List<GetBudget Planned Limit> - Object containing Planned Budget Limits. Can be used multiple times to plan more than one budget limit. See PlannedBudgetLimits documentation.
- Map<String,String>
- Map of tags assigned to the resource.
- time
Period StringEnd - The end of the time period covered by the budget. There are no restrictions on the end date. Format:
2017-01-01_12:00
. - time
Period StringStart - 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
. - time
Unit String - The length of time until a budget resets the actual and forecasted spend. Valid values:
MONTHLY
,QUARTERLY
,ANNUALLY
, andDAILY
. - name
Prefix String
- account
Id string - arn string
- auto
Adjust GetDatas Budget Auto Adjust Data[] - Object containing [AutoAdjustData] which determines the budget amount for an auto-adjusting budget.
- budget
Exceeded boolean - Boolean indicating whether this budget has been exceeded.
- budget
Limits GetBudget Budget Limit[] - The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget. Contains object Spend.
- budget
Type string - Whether this budget tracks monetary cost or usage.
- calculated
Spends GetBudget Calculated Spend[] - The spend objects that are associated with this budget. The actualSpend tracks how much you've used, cost, usage, RI units, or Savings Plans units and the forecastedSpend tracks how much that you're predicted to spend based on your historical usage profile.
- cost
Filters GetBudget Cost Filter[] - A list of CostFilter name/values pair to apply to budget.
- cost
Types GetBudget Cost Type[] - Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- notifications
Get
Budget Notification[] - Object containing Budget Notifications. Can be used multiple times to define more than one budget notification.
- planned
Limits GetBudget Planned Limit[] - Object containing Planned Budget Limits. Can be used multiple times to plan more than one budget limit. See PlannedBudgetLimits documentation.
- {[key: string]: string}
- Map of tags assigned to the resource.
- time
Period stringEnd - The end of the time period covered by the budget. There are no restrictions on the end date. Format:
2017-01-01_12:00
. - time
Period stringStart - 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
. - time
Unit string - The length of time until a budget resets the actual and forecasted spend. Valid values:
MONTHLY
,QUARTERLY
,ANNUALLY
, andDAILY
. - name
Prefix string
- account_
id str - arn str
- auto_
adjust_ Sequence[Getdatas Budget Auto Adjust Data] - Object containing [AutoAdjustData] which determines the budget amount for an auto-adjusting budget.
- budget_
exceeded bool - Boolean indicating whether this budget has been exceeded.
- budget_
limits Sequence[GetBudget Budget Limit] - The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget. Contains object Spend.
- budget_
type str - Whether this budget tracks monetary cost or usage.
- calculated_
spends Sequence[GetBudget Calculated Spend] - The spend objects that are associated with this budget. The actualSpend tracks how much you've used, cost, usage, RI units, or Savings Plans units and the forecastedSpend tracks how much that you're predicted to spend based on your historical usage profile.
- cost_
filters Sequence[GetBudget Cost Filter] - A list of CostFilter name/values pair to apply to budget.
- cost_
types Sequence[GetBudget Cost Type] - Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- notifications
Sequence[Get
Budget Notification] - Object containing Budget Notifications. Can be used multiple times to define more than one budget notification.
- planned_
limits Sequence[GetBudget Planned Limit] - Object containing Planned Budget Limits. Can be used multiple times to plan more than one budget limit. See PlannedBudgetLimits documentation.
- Mapping[str, str]
- Map of tags assigned to the resource.
- time_
period_ strend - The end of the time period covered by the budget. There are no restrictions on the end date. Format:
2017-01-01_12:00
. - time_
period_ strstart - 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
. - time_
unit str - The length of time until a budget resets the actual and forecasted spend. Valid values:
MONTHLY
,QUARTERLY
,ANNUALLY
, andDAILY
. - name_
prefix str
- account
Id String - arn String
- auto
Adjust List<Property Map>Datas - Object containing [AutoAdjustData] which determines the budget amount for an auto-adjusting budget.
- budget
Exceeded Boolean - Boolean indicating whether this budget has been exceeded.
- budget
Limits List<Property Map> - The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget. Contains object Spend.
- budget
Type String - Whether this budget tracks monetary cost or usage.
- calculated
Spends List<Property Map> - The spend objects that are associated with this budget. The actualSpend tracks how much you've used, cost, usage, RI units, or Savings Plans units and the forecastedSpend tracks how much that you're predicted to spend based on your historical usage profile.
- cost
Filters List<Property Map> - A list of CostFilter name/values pair to apply to budget.
- cost
Types List<Property Map> - Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- notifications List<Property Map>
- Object containing Budget Notifications. Can be used multiple times to define more than one budget notification.
- planned
Limits List<Property Map> - Object containing Planned Budget Limits. Can be used multiple times to plan more than one budget limit. See PlannedBudgetLimits documentation.
- Map<String>
- Map of tags assigned to the resource.
- time
Period StringEnd - The end of the time period covered by the budget. There are no restrictions on the end date. Format:
2017-01-01_12:00
. - time
Period StringStart - 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
. - time
Unit String - The length of time until a budget resets the actual and forecasted spend. Valid values:
MONTHLY
,QUARTERLY
,ANNUALLY
, andDAILY
. - name
Prefix String
Supporting Types
GetBudgetAutoAdjustData
- Auto
Adjust stringType - (Required) - The string that defines whether your budget auto-adjusts based on historical or forecasted data. Valid values:
FORECAST
,HISTORICAL
. - Historical
Options List<GetBudget Auto Adjust Data Historical Option> - (Optional) - Configuration block of Historical Options. Required for
auto_adjust_type
ofHISTORICAL
Configuration block that defines the historical data that your auto-adjusting budget is based on. - Last
Auto stringAdjust Time - (Optional) - The last time that your budget was auto-adjusted.
- Auto
Adjust stringType - (Required) - The string that defines whether your budget auto-adjusts based on historical or forecasted data. Valid values:
FORECAST
,HISTORICAL
. - Historical
Options []GetBudget Auto Adjust Data Historical Option - (Optional) - Configuration block of Historical Options. Required for
auto_adjust_type
ofHISTORICAL
Configuration block that defines the historical data that your auto-adjusting budget is based on. - Last
Auto stringAdjust Time - (Optional) - The last time that your budget was auto-adjusted.
- auto
Adjust StringType - (Required) - The string that defines whether your budget auto-adjusts based on historical or forecasted data. Valid values:
FORECAST
,HISTORICAL
. - historical
Options List<GetBudget Auto Adjust Data Historical Option> - (Optional) - Configuration block of Historical Options. Required for
auto_adjust_type
ofHISTORICAL
Configuration block that defines the historical data that your auto-adjusting budget is based on. - last
Auto StringAdjust Time - (Optional) - The last time that your budget was auto-adjusted.
- auto
Adjust stringType - (Required) - The string that defines whether your budget auto-adjusts based on historical or forecasted data. Valid values:
FORECAST
,HISTORICAL
. - historical
Options GetBudget Auto Adjust Data Historical Option[] - (Optional) - Configuration block of Historical Options. Required for
auto_adjust_type
ofHISTORICAL
Configuration block that defines the historical data that your auto-adjusting budget is based on. - last
Auto stringAdjust Time - (Optional) - The last time that your budget was auto-adjusted.
- auto_
adjust_ strtype - (Required) - The string that defines whether your budget auto-adjusts based on historical or forecasted data. Valid values:
FORECAST
,HISTORICAL
. - historical_
options Sequence[GetBudget Auto Adjust Data Historical Option] - (Optional) - Configuration block of Historical Options. Required for
auto_adjust_type
ofHISTORICAL
Configuration block that defines the historical data that your auto-adjusting budget is based on. - last_
auto_ stradjust_ time - (Optional) - The last time that your budget was auto-adjusted.
- auto
Adjust StringType - (Required) - The string that defines whether your budget auto-adjusts based on historical or forecasted data. Valid values:
FORECAST
,HISTORICAL
. - historical
Options List<Property Map> - (Optional) - Configuration block of Historical Options. Required for
auto_adjust_type
ofHISTORICAL
Configuration block that defines the historical data that your auto-adjusting budget is based on. - last
Auto StringAdjust Time - (Optional) - The last time that your budget was auto-adjusted.
GetBudgetAutoAdjustDataHistoricalOption
- Budget
Adjustment intPeriod - (Required) - The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount.
- Lookback
Available intPeriods - (Optional) - The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current budget limit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit. You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the
budget_adjustment_period
and your historical cost data.
- Budget
Adjustment intPeriod - (Required) - The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount.
- Lookback
Available intPeriods - (Optional) - The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current budget limit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit. You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the
budget_adjustment_period
and your historical cost data.
- budget
Adjustment IntegerPeriod - (Required) - The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount.
- lookback
Available IntegerPeriods - (Optional) - The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current budget limit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit. You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the
budget_adjustment_period
and your historical cost data.
- budget
Adjustment numberPeriod - (Required) - The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount.
- lookback
Available numberPeriods - (Optional) - The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current budget limit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit. You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the
budget_adjustment_period
and your historical cost data.
- budget_
adjustment_ intperiod - (Required) - The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount.
- lookback_
available_ intperiods - (Optional) - The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current budget limit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit. You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the
budget_adjustment_period
and your historical cost data.
- budget
Adjustment NumberPeriod - (Required) - The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount.
- lookback
Available NumberPeriods - (Optional) - The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current budget limit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit. You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the
budget_adjustment_period
and your historical cost data.
GetBudgetBudgetLimit
- Amount string
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - Unit string
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- Amount string
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - Unit string
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount String
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - unit String
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount string
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - unit string
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount str
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - unit str
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount String
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - unit String
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
GetBudgetCalculatedSpend
GetBudgetCalculatedSpendActualSpend
- Amount string
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - Unit string
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- Amount string
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - Unit string
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount String
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - unit String
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount string
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - unit string
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount str
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - unit str
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount String
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - unit String
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
GetBudgetCostFilter
GetBudgetCostType
- Include
Credit bool - A boolean value whether to include credits in the cost budget. Defaults to
true
. - Include
Discount bool - Whether a budget includes discounts. Defaults to
true
. - Include
Other boolSubscription - A boolean value whether to include other subscription costs in the cost budget. Defaults to
true
. - Include
Recurring bool - A boolean value whether to include recurring costs in the cost budget. Defaults to
true
. - Include
Refund bool - A boolean value whether to include refunds in the cost budget. Defaults to
true
. - Include
Subscription bool - A boolean value whether to include subscriptions in the cost budget. Defaults to
true
. - Include
Support bool - A boolean value whether to include support costs in the cost budget. Defaults to
true
. - Include
Tax bool - A boolean value whether to include tax in the cost budget. Defaults to
true
. - Include
Upfront bool - A boolean value whether to include upfront costs in the cost budget. Defaults to
true
. - Use
Amortized bool - Whether a budget uses the amortized rate. Defaults to
false
. - Use
Blended bool - A boolean value whether to use blended costs in the cost budget. Defaults to
false
.
- Include
Credit bool - A boolean value whether to include credits in the cost budget. Defaults to
true
. - Include
Discount bool - Whether a budget includes discounts. Defaults to
true
. - Include
Other boolSubscription - A boolean value whether to include other subscription costs in the cost budget. Defaults to
true
. - Include
Recurring bool - A boolean value whether to include recurring costs in the cost budget. Defaults to
true
. - Include
Refund bool - A boolean value whether to include refunds in the cost budget. Defaults to
true
. - Include
Subscription bool - A boolean value whether to include subscriptions in the cost budget. Defaults to
true
. - Include
Support bool - A boolean value whether to include support costs in the cost budget. Defaults to
true
. - Include
Tax bool - A boolean value whether to include tax in the cost budget. Defaults to
true
. - Include
Upfront bool - A boolean value whether to include upfront costs in the cost budget. Defaults to
true
. - Use
Amortized bool - Whether a budget uses the amortized rate. Defaults to
false
. - Use
Blended bool - A boolean value whether to use blended costs in the cost budget. Defaults to
false
.
- include
Credit Boolean - A boolean value whether to include credits in the cost budget. Defaults to
true
. - include
Discount Boolean - Whether a budget includes discounts. Defaults to
true
. - include
Other BooleanSubscription - A boolean value whether to include other subscription costs in the cost budget. Defaults to
true
. - include
Recurring Boolean - A boolean value whether to include recurring costs in the cost budget. Defaults to
true
. - include
Refund Boolean - A boolean value whether to include refunds in the cost budget. Defaults to
true
. - include
Subscription Boolean - A boolean value whether to include subscriptions in the cost budget. Defaults to
true
. - include
Support Boolean - A boolean value whether to include support costs in the cost budget. Defaults to
true
. - include
Tax Boolean - A boolean value whether to include tax in the cost budget. Defaults to
true
. - include
Upfront Boolean - A boolean value whether to include upfront costs in the cost budget. Defaults to
true
. - use
Amortized Boolean - Whether a budget uses the amortized rate. Defaults to
false
. - use
Blended Boolean - A boolean value whether to use blended costs in the cost budget. Defaults to
false
.
- include
Credit boolean - A boolean value whether to include credits in the cost budget. Defaults to
true
. - include
Discount boolean - Whether a budget includes discounts. Defaults to
true
. - include
Other booleanSubscription - A boolean value whether to include other subscription costs in the cost budget. Defaults to
true
. - include
Recurring boolean - A boolean value whether to include recurring costs in the cost budget. Defaults to
true
. - include
Refund boolean - A boolean value whether to include refunds in the cost budget. Defaults to
true
. - include
Subscription boolean - A boolean value whether to include subscriptions in the cost budget. Defaults to
true
. - include
Support boolean - A boolean value whether to include support costs in the cost budget. Defaults to
true
. - include
Tax boolean - A boolean value whether to include tax in the cost budget. Defaults to
true
. - include
Upfront boolean - A boolean value whether to include upfront costs in the cost budget. Defaults to
true
. - use
Amortized boolean - Whether a budget uses the amortized rate. Defaults to
false
. - use
Blended boolean - A boolean value whether to use blended costs in the cost budget. Defaults to
false
.
- include_
credit bool - A boolean value whether to include credits in the cost budget. Defaults to
true
. - include_
discount bool - Whether a budget includes discounts. Defaults to
true
. - include_
other_ boolsubscription - A boolean value whether to include other subscription costs in the cost budget. Defaults to
true
. - include_
recurring bool - A boolean value whether to include recurring costs in the cost budget. Defaults to
true
. - include_
refund bool - A boolean value whether to include refunds in the cost budget. Defaults to
true
. - include_
subscription bool - A boolean value whether to include subscriptions in the cost budget. Defaults to
true
. - include_
support bool - A boolean value whether to include support costs in the cost budget. Defaults to
true
. - include_
tax bool - A boolean value whether to include tax in the cost budget. Defaults to
true
. - include_
upfront bool - A boolean value whether to include upfront costs in the cost budget. Defaults to
true
. - use_
amortized bool - Whether a budget uses the amortized rate. Defaults to
false
. - use_
blended bool - A boolean value whether to use blended costs in the cost budget. Defaults to
false
.
- include
Credit Boolean - A boolean value whether to include credits in the cost budget. Defaults to
true
. - include
Discount Boolean - Whether a budget includes discounts. Defaults to
true
. - include
Other BooleanSubscription - A boolean value whether to include other subscription costs in the cost budget. Defaults to
true
. - include
Recurring Boolean - A boolean value whether to include recurring costs in the cost budget. Defaults to
true
. - include
Refund Boolean - A boolean value whether to include refunds in the cost budget. Defaults to
true
. - include
Subscription Boolean - A boolean value whether to include subscriptions in the cost budget. Defaults to
true
. - include
Support Boolean - A boolean value whether to include support costs in the cost budget. Defaults to
true
. - include
Tax Boolean - A boolean value whether to include tax in the cost budget. Defaults to
true
. - include
Upfront Boolean - A boolean value whether to include upfront costs in the cost budget. Defaults to
true
. - use
Amortized Boolean - Whether a budget uses the amortized rate. Defaults to
false
. - use
Blended Boolean - A boolean value whether to use blended costs in the cost budget. Defaults to
false
.
GetBudgetNotification
- Comparison
Operator string - (Required) Comparison operator to use to evaluate the condition. Can be
LESS_THAN
,EQUAL_TO
orGREATER_THAN
. - Notification
Type string - (Required) What kind of budget value to notify on. Can be
ACTUAL
orFORECASTED
. - Subscriber
Email List<string>Addresses - (Optional) E-Mail addresses to notify. Either this or
subscriber_sns_topic_arns
is required. - Subscriber
Sns List<string>Topic Arns - (Optional) SNS topics to notify. Either this or
subscriber_email_addresses
is required. - Threshold double
- (Required) Threshold when the notification should be sent.
- Threshold
Type string - (Required) What kind of threshold is defined. Can be
PERCENTAGE
ORABSOLUTE_VALUE
.
- Comparison
Operator string - (Required) Comparison operator to use to evaluate the condition. Can be
LESS_THAN
,EQUAL_TO
orGREATER_THAN
. - Notification
Type string - (Required) What kind of budget value to notify on. Can be
ACTUAL
orFORECASTED
. - Subscriber
Email []stringAddresses - (Optional) E-Mail addresses to notify. Either this or
subscriber_sns_topic_arns
is required. - Subscriber
Sns []stringTopic Arns - (Optional) SNS topics to notify. Either this or
subscriber_email_addresses
is required. - Threshold float64
- (Required) Threshold when the notification should be sent.
- Threshold
Type string - (Required) What kind of threshold is defined. Can be
PERCENTAGE
ORABSOLUTE_VALUE
.
- comparison
Operator String - (Required) Comparison operator to use to evaluate the condition. Can be
LESS_THAN
,EQUAL_TO
orGREATER_THAN
. - notification
Type String - (Required) What kind of budget value to notify on. Can be
ACTUAL
orFORECASTED
. - subscriber
Email List<String>Addresses - (Optional) E-Mail addresses to notify. Either this or
subscriber_sns_topic_arns
is required. - subscriber
Sns List<String>Topic Arns - (Optional) SNS topics to notify. Either this or
subscriber_email_addresses
is required. - threshold Double
- (Required) Threshold when the notification should be sent.
- threshold
Type String - (Required) What kind of threshold is defined. Can be
PERCENTAGE
ORABSOLUTE_VALUE
.
- comparison
Operator string - (Required) Comparison operator to use to evaluate the condition. Can be
LESS_THAN
,EQUAL_TO
orGREATER_THAN
. - notification
Type string - (Required) What kind of budget value to notify on. Can be
ACTUAL
orFORECASTED
. - subscriber
Email string[]Addresses - (Optional) E-Mail addresses to notify. Either this or
subscriber_sns_topic_arns
is required. - subscriber
Sns string[]Topic Arns - (Optional) SNS topics to notify. Either this or
subscriber_email_addresses
is required. - threshold number
- (Required) Threshold when the notification should be sent.
- threshold
Type string - (Required) What kind of threshold is defined. Can be
PERCENTAGE
ORABSOLUTE_VALUE
.
- comparison_
operator str - (Required) Comparison operator to use to evaluate the condition. Can be
LESS_THAN
,EQUAL_TO
orGREATER_THAN
. - notification_
type str - (Required) What kind of budget value to notify on. Can be
ACTUAL
orFORECASTED
. - subscriber_
email_ Sequence[str]addresses - (Optional) E-Mail addresses to notify. Either this or
subscriber_sns_topic_arns
is required. - subscriber_
sns_ Sequence[str]topic_ arns - (Optional) SNS topics to notify. Either this or
subscriber_email_addresses
is required. - threshold float
- (Required) Threshold when the notification should be sent.
- threshold_
type str - (Required) What kind of threshold is defined. Can be
PERCENTAGE
ORABSOLUTE_VALUE
.
- comparison
Operator String - (Required) Comparison operator to use to evaluate the condition. Can be
LESS_THAN
,EQUAL_TO
orGREATER_THAN
. - notification
Type String - (Required) What kind of budget value to notify on. Can be
ACTUAL
orFORECASTED
. - subscriber
Email List<String>Addresses - (Optional) E-Mail addresses to notify. Either this or
subscriber_sns_topic_arns
is required. - subscriber
Sns List<String>Topic Arns - (Optional) SNS topics to notify. Either this or
subscriber_email_addresses
is required. - threshold Number
- (Required) Threshold when the notification should be sent.
- threshold
Type String - (Required) What kind of threshold is defined. Can be
PERCENTAGE
ORABSOLUTE_VALUE
.
GetBudgetPlannedLimit
- Amount string
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - Start
Time string - (Required) The start time of the budget limit. Format:
2017-01-01_12:00
. See PlannedBudgetLimits documentation. - Unit string
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- Amount string
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - Start
Time string - (Required) The start time of the budget limit. Format:
2017-01-01_12:00
. See PlannedBudgetLimits documentation. - Unit string
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount String
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - start
Time String - (Required) The start time of the budget limit. Format:
2017-01-01_12:00
. See PlannedBudgetLimits documentation. - unit String
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount string
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - start
Time string - (Required) The start time of the budget limit. Format:
2017-01-01_12:00
. See PlannedBudgetLimits documentation. - unit string
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount str
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - start_
time str - (Required) The start time of the budget limit. Format:
2017-01-01_12:00
. See PlannedBudgetLimits documentation. - unit str
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
- amount String
- The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. Length Constraints: Minimum length of
1
. Maximum length of2147483647
. - start
Time String - (Required) The start time of the budget limit. Format:
2017-01-01_12:00
. See PlannedBudgetLimits documentation. - unit String
- The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. Length Constraints: Minimum length of
1
. Maximum length of2147483647
.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.