import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for managing an AWS Web Services Budgets Budget. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.budgets.getBudget({ * name: testAwsBudgetsBudget.name, * }); * ``` */ export declare function getBudget(args: GetBudgetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBudget. */ export interface GetBudgetArgs { /** * ID of the target account for the budget. Defaults to the current account ID. */ accountId?: string; /** * Name of the budget. Unique within an account. * * The following arguments are optional: */ name: string; /** * Prefix of the budget name. Unique within an account. */ namePrefix?: string; /** * Map of tags assigned to the resource. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getBudget. */ export interface GetBudgetResult { readonly accountId: string; /** * ARN of the budget. */ readonly arn: string; /** * Object that determines the budget amount for an auto-adjusting budget. See `autoAdjustData` Block for details. */ readonly autoAdjustDatas: outputs.budgets.GetBudgetAutoAdjustData[]; /** * ARN of the billing view. */ readonly billingViewArn: string; /** * Whether the budget has been exceeded. */ readonly budgetExceeded: boolean; /** * Amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage tracked by the budget. See `budgetLimit` Block for details. */ readonly budgetLimits: outputs.budgets.GetBudgetBudgetLimit[]; /** * Whether the budget tracks monetary cost or usage. */ readonly budgetType: string; /** * Spend objects associated with the budget. See `calculatedSpend` Block for details. */ readonly calculatedSpends: outputs.budgets.GetBudgetCalculatedSpend[]; /** * Cost filters applied to the budget. See `costFilter` Block for details. */ readonly costFilters: outputs.budgets.GetBudgetCostFilter[]; /** * Types of cost included in the budget. See `costTypes` Block for details. */ readonly costTypes: outputs.budgets.GetBudgetCostType[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Name of the cost filter. */ readonly name: string; readonly namePrefix?: string; /** * Notifications associated with the budget. See `notification` Block for details. */ readonly notifications: outputs.budgets.GetBudgetNotification[]; /** * Budget limits planned for future periods. See `plannedLimit` Block for details. */ readonly plannedLimits: outputs.budgets.GetBudgetPlannedLimit[]; /** * Map of tags assigned to the resource. */ readonly tags: { [key: string]: string; }; /** * End of the time period covered by the budget. Format: `2017-01-01_12:00`. */ readonly timePeriodEnd: string; /** * Start of the time period covered by the budget. Format: `2017-01-01_12:00`. */ readonly timePeriodStart: string; /** * Length of time until the budget resets the actual and forecasted spend. Valid values: `MONTHLY`, `QUARTERLY`, `ANNUALLY`, and `DAILY`. */ readonly timeUnit: string; } /** * Data source for managing an AWS Web Services Budgets Budget. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.budgets.getBudget({ * name: testAwsBudgetsBudget.name, * }); * ``` */ export declare function getBudgetOutput(args: GetBudgetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBudget. */ export interface GetBudgetOutputArgs { /** * ID of the target account for the budget. Defaults to the current account ID. */ accountId?: pulumi.Input; /** * Name of the budget. Unique within an account. * * The following arguments are optional: */ name: pulumi.Input; /** * Prefix of the budget name. Unique within an account. */ namePrefix?: pulumi.Input; /** * Map of tags assigned to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=getBudget.d.ts.map