Skip to main content

notifications_for_budgets

Creates, updates, deletes, gets or lists a notifications_for_budgets resource.

Overview

Namenotifications_for_budgets
TypeResource
Idaws.budgets.notifications_for_budgets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
comparison_operatorstringThe comparison that's used for this notification. (GREATER_THAN, LESS_THAN, EQUAL_TO)
notification_statestringSpecifies whether this notification is in alarm. If a budget notification is in the ALARM state, you passed the set threshold for the budget. (OK, ALARM)
notification_typestringSpecifies whether the notification is for how much you have spent (ACTUAL) or for how much that you're forecasted to spend (FORECASTED). (ACTUAL, FORECASTED)
thresholdnumber (double)The threshold that's associated with a notification. Thresholds are always a percentage, and many customers find value being alerted between 50% - 200% of the budgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted amount.
threshold_typestringThe type of threshold for a notification. For ABSOLUTE_VALUE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend. For example, if you have a budget for 200 dollars and you have a PERCENTAGE threshold of 80%, Amazon Web Services notifies you when you go over 160 dollars. (PERCENTAGE, ABSOLUTE_VALUE)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_notifications_for_budgetselectregionLists the notifications that are associated with a budget.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists the notifications that are associated with a budget.

SELECT
comparison_operator,
notification_state,
notification_type,
threshold,
threshold_type
FROM aws.budgets.notifications_for_budgets
WHERE region = '{{ region }}' -- required
;